Skip to content

JDProfresh/FL-Lottery-API

This branch is up to date with kawhyte/Lotto-Tickets-API:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

875b95f Β· Nov 5, 2021
May 14, 2019
May 4, 2019
Jun 26, 2019
Jun 6, 2019
Jun 24, 2019
Jun 24, 2019
Jun 26, 2019
Jun 24, 2019
Jun 19, 2019
Jun 24, 2019
Jun 24, 2019
Nov 5, 2021
Jun 26, 2019
Jun 11, 2019
Jun 11, 2019
Jun 11, 2019
Jun 27, 2019

Repository files navigation

Face

An API for the Florida Lottery Scratch-off game

πŸš€ Tech Stack

Client: HTML, CSS

Server: Node, Express, MongoDB

Demo

https://lottoticketapi.herokuapp.com/api-docs/

Screenshots

Florida Lottery API

πŸ”— Links

portfolio twitter

How to set-up and run

Install dependencies

  1. npm install --save

Seed MongoDb

  1. Make sure that you MongoDB is installed and running on your machine

macOS - https://docs.mongodb.com/v3.2/tutorial/install-mongodb-on-os-x/

  1. Import sample data from JSON file (lotto-data.json)to your database with teh followinng command :

mongoimport --db lotto --collection tickets --drop --file seed_data/lotto-data.json --jsonArray

  1. Set an enviroment variable (eg. In cmd/Terminal - export Lotto_jwtPrivateKey=password)

  2. Run with "node index.js"

[MIT]

About

An API for the Florida Lottery Scratch-off game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.7%
  • EJS 4.3%