GET
/ideas
- Returns all ideas inideas
collection.GET
/ideas/{id}
- Returns an idea with a givenid
POST
/ideas
- Adds new idea document to ideas collection.PUT
/ideas/{id}
- Updates the details of a given idea.DELETE
/ideas/{id}
- Deletes an idea with a given id.
No additional setup should be needed if you are running the app with docker compose setup here
Make sure required ENVIRONMENT VARIABLES
are provided
- Add .env file to
./api
directory, and add the following key value pairs
MONGODB_CONNECTION_STRING=connection string of mongodb database
GOOGLE_CLIENT_ID_IHUB_WEB=[your google client id].apps.googleusercontent.com