The social network for your Fam!
To get a local copy up and running follow these simple steps.
Install the latest version of Node.js (if you do not already have it)
- Clone the repo
git clone https://github.com/nme077/social_fam.git
- Install NPM packages
npm install
-
Add .env file with the variables in .env.example
-
Connect to MongoDB - get started with MongoDB Atlas at https://docs.atlas.mongodb.com/getting-started/
- Obtain the unique URI to connect to your MongoDB database add it to your .env file.
URI="mongodb://[username:password@]host1[:port1][,...hostN[:portN]][/[defaultauthdb][?options]]"
- Setup a Google OAuth 2.0 client - get started at https://developers.google.com/identity/protocols/oauth2
- Obtain the following credentials and add them to your .env file.
CLIENT_ID="YOUR_GOOGLE_CLIENT ID"
CLIENT_SECRET="YOUR_GOOGLE_CLIENT_SECRET"
REDIRECT_URI="http://localhost:3000/settings"
REFRESH_TOKEN="YOUR_OUATH_2.0_REFRESH_TOKEN"
CALLBACK_URL="http://localhost:3000/auth/google/callback"
- Create a Cloudinary account to upload and access photos. Get started at https://cloudinary.com/
- Obtain the following information from your Cloudinary account and add them to your .env file.
CLOUD_NAME="YOUR_CLOUD_NAME"
API_KEY="YOUR_API_KEY"
API_SECRET="YOUR_API_SECRET"
-
Open a terminal and run
npm run build
- keep this running, it will build the app whenever a change is made. -
Open a second terminal window and run
npm start
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- 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
Nicholas Eveland - nmemusic77@gmail.com
Project Link: https://github.com/nme077/social_fam