Server to manage requests and data from the Consoul.log.
- Clone or download the repo.
- Open the terminal.
- Navigate to /server
- Type
npm run dev
to start server on port 3000
- JavaScript
- Express
- Cors
- Jest
- Supertest
- Setup initial server files and connected basic route
- Added inital GET and POST routes with expected status
- Implemented entry model and functions that returned/created the necessary data
- Added additional routes to PATCH entries with new comments and reacts
- Added save to JSON functionality
- Added search route and function
- Managed to deploy a functional site using Heroku!
- Using multiple controllers
- Read/write to JSON
- Elusive bugs!
- Managing JSON data
- There is limited error handling on some routes