A back end social media app using MongoDB. You can populate the database with Users, Thoughts, Friends, and Reactions. Right now the only for of interaction with the database is though apps like Insomnia.
- Express
- MongoDB
- Insomnia
This project requires Node.js and other dependencies
Navigate to the directory you would like to use using the CLI and then clone this repository:
git clone git@github.com:jefid/anti-social-network.git
Create .gitignore
to include the following:
node_modules
.DS_Store
package-lock.json
You will need to install MongoDB
Open your IDE and use these commands to install all the necessary packages:
npm i express mongoose
npm init
npm init
will create your package.json
file.
"scripts": {
"start": "node server.js",
}
In the terminal, start the MongoDB database
mongod;
Finally, start the server from the command line:
npm start
Have something you'd like to add?
Feel free to contact me via email!