Skip to content

Safo-Samson/ShareIdeas-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RandomIdeas App

This is a fullstack application for sharing random ideas. It is a project with headstart from Brad Traverst.

This app includes a Node.js/Express REST API that uses MongoDB for a database. The client-side is built with Webpack.


## REST Endpoints

### Ideas

| Endpoint       | Description    | Method | Body                    |
| -------------- | -------------- | ------ | ----------------------- |
| /api/ideas     | Get all ideas  | GET    | None                    |
| /api/ideas/:id | Get idea by id | GET    | None                    |
| /api/ideas     | Add idea       | POST   | { text, tag, username } |
| /api/ideas/:id | Update idea    | PUT    | { text, tag, username } |
| /api/ideas/:id | Delete idea    | DELETE | username                |

When updating or deleting, the username must match the username of the idea creator.

About

Adding your idea or quotes from your or your favourite people!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published