gwarzecha / a-social-net

An API for a (nonexistent) social network app. In its current state, it allows users to execute CRUD methods and test them via Insomnia or a similar app. Express.js, MongoDB, Mongoose ODM, and Day.js were used in its creation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A Social Net

Description:

A Social Net is an API for a basic, but nonexistent, social network web app that allows users to execute rudimentary actions such as creating a user, sharing their thoughts, adding friends, and reacting to the thoughts of their friends. The application uses Express.js for router instantiation, MongoDB as its NoSQL database, and the Mongoose ODM. Day.js was also used to re-format the timestamp that is created by MongoDB. This application is not deployed and will need to be used in conjunction with Insomnia or something similar to display the API data-models that are generated.

Walkthrough Videos:

Walkthrough Video

Walkthrough Video Continued...

License: MIT

Table of Contents:

Installation:

Once the respository is cloned and on your local machine, run npm i to install all of the dependencies and then npm start to boot up the local host.

Usage:

The user can test out the various API routes using a tool such as Insomnia. The user can create a User, get all users or a single user by id, delete a user, and add friends to a user. A user's associated thoughts can also be tested in a similar fashion (GET by both all and id, POST, PUT), and reactions can also be created and deleted for any thought that a user creates.

Contributing:

If you have any suggestions or ideas for impovement, please create a pull request.

Questions?:

License:

This project is covered under the MIT license.

About

An API for a (nonexistent) social network app. In its current state, it allows users to execute CRUD methods and test them via Insomnia or a similar app. Express.js, MongoDB, Mongoose ODM, and Day.js were used in its creation.

License:MIT License


Languages

Language:JavaScript 100.0%