I built this back end social media app by practing NoSQL skills and using MongoDB connected with Mongoose. The app can only be run from the command line and using an API client program, such as Insomnia.
- Users
- Thoughts (With a sub schema for Thoughts)
- GET (ALL users, ONE user, ALL thoughts, ONE thought)
- POST (ONE user, ONE friend by user, ONE thought, ONE reaction per thought)
- PUT (CHANGE user's email and username, CHANGE thought text and creator)
- DELETE (DELETE a user, DELETE a friend by user, DELETE thought, DELETE reaction per thought)
- Git clone or download the application
- Install all dependencies with 'npm i' on the command line at the root of the application
- Run 'npm start' for the app to run on port 3401.
- Load an API client program such as Insomnia to run CRUD commands as the application cannot be run on the browser.
- To test routes, visit the sub directory 'routes' for a complete list of routes built.