A movie API built with Express.js, featuring full auth and JWT implementation via Passport.
I've built full frontends to work with this server in React.js and Angular.js: React Frontend - Web React Frontend - Git Angular Frontend - Web Angular Frontend - Git
As of this writing, this server is deployed to Heroku here.
Documentation brought to you by JSDoc. To regenerate documentation, run npm run docgen
.
This server is built to work with a MongoDB database. Update the .env
file with the correct link to the database before starting. If you would like, some seed data is provided, though the users will not work due to password hashing issues.
You can start a local MongoDB instance via homebrew:
brew tap mongodb/brew
brew install mongodb-community
brew services start mongodb-community
To seed the db, run mongosh
in your shell, then paste the contents of seedData/mongo/mongo-seed.js.
Start the server with npm start
, and your api will be available at localhost:8000
.