Skip to content

A social networking backend in MongoDB where users can share their thoughts and reactions

License

Notifications You must be signed in to change notification settings

Cancer2806/Thoughts

Repository files navigation

Social Networking Backend

License

Description

The project uses a MongoDB database, with the ODM Mongoose, to create the backend for a social networking database that allows users to share their thoughts.

Table of Contents

Installation Notes

At this point, there is no front end for the project. Copy from Github and maintain folder structure. Open to the folder and use NPM to install the dependencies. Once complete, type npm run start to open the application. Nova or similar software can be used to test the routes.

Usage

Project can be started within Node. Nova or similar software can be used to test the routes. Users can be created, updated and deleted. Thoughts can be created, updated and deleted. A single user or all users can be displayed. A single thought or all thoughts can be displayed. Reactions can be added or removed from thoughts. Friends (other users) can be added or removed from a Users profile. Thoughts are linked to the User that created the thought and reactions retain the identity of the User entering the reaction. The majority of the data is dated on creation.


A video walkthrough (in two parts due to lenght) of the routes in action can be found at:

Part 1: https://drive.google.com/file/d/1FjsVYpM9XzY-RCi32HtT6JR_qwj5MFu1/view?usp=sharing
Part 2: https://drive.google.com/file/d/1r4ajjS4zhRQSBMfDG8dt36-du1DjGkAl/view?usp=sharing


The Project code repository is stored at: https://github.com/Cancer2806/Thoughts


Following are screenshots showing the routes being used in Nova:

Get Users:
Get All Users
This route lists all users with Friends and Thoughts fully populated


Delete Thought:
Delete a Thought
This route allow a Thought to be deleted


Add Friend:
Add a Friend
This route add a Friend sub-document to a User


Delete User:
Delete a User
This route deletes a User along with all of their Thoughts


Credits

Node, MongoDB, Mongoose, Express, are heavily used in the Project. Nova was used for testing the routes.

Contributing

Suggestions for contributions can be sent by email

Questions

Questions can be submitted by email

Github: https://github.com/Cancer2806

Email: frank.lavery@westnet.com.au

License

This project is licensed under MIT.

About

A social networking backend in MongoDB where users can share their thoughts and reactions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published