Simple snacks RESTful API created with Node.js and Express using the MVC architecture.
Routes:
- GET /snacks
- GET /snacks/:id
- POST /snacks
- PUT /snacks/:id
- DELETE /snacks/:id
- Fork and clone this repository
- Run
npm install
oryarn
- Run the tests with
npm test
- Run the server in development mode with
npm run dev
or run it in production mode withnpm start