Skip to content

This app is to build an API for a social network web application where users can share their thoughts, react to friends’ thoughts, and create a friend list. Use Express.js for routing, a MongoDB database, and the Mongoose ODM(Object Document Model).

License

Notifications You must be signed in to change notification settings

ALMA-DEV914/Social-Network-with-NoSQL

Repository files navigation

Social-Network-with-NoSQL

MIT

Check the demontration here

Description

My task is to build an API for a social network web application where users can share their thoughts, react to friends’ thoughts, and create a friend list. Use Express.js for routing, a MongoDB database, and the Mongoose ODM. In addition to using the Express.js (Links to an external site.) and Mongoose (Links to an external site.) packages, you may also optionally use a JavaScript date library of my choice or the native JavaScript Date object to format timestamps.

table of Contents

Installation

​Clone the repository, navigate to the project folder on your CLI and run the following command to install Node.js:

npm install

Usage

Run the following command on your CLI to run the application:

npm start

Then navigate to insomia or localhost:3001 to test the api routes.

The following animation shows GET routes to return all users and all thoughts being tested in Insomnia:

Screen.Recording.2022-01-14.at.2.55.42.PM.mov

The following animation shows GET routes to return a single user and a single thought being tested in Insomnia

Screen.Recording.2022-01-14.at.2.57.48.PM.mov

Packages

License

MIT License

Copyright (c) 2022 Alma Braun

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Questions

For additional questions and information, please visit my GitHub profile or reach out via email at [email protected]

About

This app is to build an API for a social network web application where users can share their thoughts, react to friends’ thoughts, and create a friend list. Use Express.js for routing, a MongoDB database, and the Mongoose ODM(Object Document Model).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages