A small social media platform that aims to connect people virtually, built using MongoDB, Express, React, and Node.js
- Install the dependencies in the main directory by running
npm install
in the terminal. - Create a config.js file in the
/server
directory with the following content:
module.exports = {
'MONGO_URI': // YOUR MONGO URI GOES HERE,
'SECRET_KEY': // YOUR PRIVATE KEY GOES HERE,
'CLOUD_NAME': // YOUR CLOUD NAME GOES HERE,
'CLOUD_API_KEY': // YOUR CLOUD API KEY GOES HERE,
'CLOUD_API_SECRET': // YOUR CLOUD API SECRET GOES HERE
}
config.js
file should look like this:
module.exports = {
'MONGO_URI': // YOUR MONGO URI GOES HERE,
'SECRET_KEY': // YOUR PRIVATE KEY GOES HERE
}
- Run the command
npm start
and the server will automatically install subdirectory dependencies & start the servers.
Feel free to open issues and pull requests :)