- Clone the repository
git clone https://github.com/kkg52/freecodecamp-APIProject.git
- Install the dependencies
- Run the server
- Register a new user
- Login with the registered user
- Add a new location
- View all the locations
- View a specific location
- Update a location
- Delete a location
- Register a new user
POST /api/register
- Login with the registered user
POST /api/login
- Add a new location
POST /api/locations
- View all the locations
GET /api/locations
- View a specific location
GET /api/locations/:id
- Update a location
PUT /api/locations/:id
- Delete a location
DELETE /api/locations/:id