The Social Network for Bibliophiles 🤓📖❤️
The backend API for Bookmarkd responsible for communication to and from the MongoDB data store.
Made with ExpressJS, Eslint, and Jest.
- NodeJS 13+
- MongoDB
First things first...
npm i # installs dependencies
Time to start the application!
npm start
To run the application with a live dev server that supports hot reloading, run
npm run dev
To run the full test suite,
npm test
This project uses the AirBnB ruleset for eslint to enforce code style and syntax errors. Linting is run with the lint command as well as the general npm test command.
To run the linter and check for code style errors,
npm run lint
Oh no! We have a bunch of linting errors. That's totally fixable! You just need to run
npm run lint:fix
This application can be run with Docker using the supplied Dockerfile to build the image. Your machine must have Docker installed in order to perform the following steps. Download instructions can be found on the Official Docker Website
change directory to the root of the repository, then
docker build -t <username>/bookmarkd .
docker run -p <public_port>:<private_port> -d <username>/bookmarkd
- Express - Web Framework
- Jest - Unit Testing Framework
- Eslint - Code Style
- Mongoose - MongoDB utility for NodeJS
- Adeeb Ali - Main Contributor