Table of Contents
This is a social media web application. It allows users to sign up, log in, post images with captions, make friends with other users, and like other users' posts.
- Login and signup
- Post images and add captions
- Make friends
- Like other users' posts
- See a feed of all posts from your friends
- See a list of all your friends
This is an example of how you setting up project locally. To get a local copy up and running follow these simple steps.
- npm
npm install npm@latest -g
- Get a MongoDB Atlas Application connection URL at https://www.mongodb.com/home by creating the database.
- Clone the repo
git clone https://github.com/Dharmik3/sociopedia.git
- Install NPM packages
cd client npm install cd server npm install
- Create
.env
file and put MongoDB url in.env in server directory
MONGO_URL = ENTER YOUR MONGO URL (without inverted commas); JWT_SECRET = ENTER YOUR SECRET
- Run following command in terminal inside client directory
npm start
- Run following command in terminal inside server directory
npm run server
Now you can test your url on your browser url
http://localhost:3000/
Server is running on 5001 PORT
For more examples, please refer to the live link
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Dharmik Patel - @Dharmik - dharmikpatel.pepalla@gmail.com