Places is a web application using MERN stack. You can share places you love with others users. You can login, add many places with their own picture and description but also add their location on a Google map.
$ git clone [email protected]:LudoCruchot/Places.git <yourLocalRepo>
$ cd <yourLocalRepo>/frontend
$ npm install
$ cd ../backend
$ npm install
Check here to get started with Atlas. Then, you need to create a database called places with two collections named users and places
Rename the .env_sample
file into .env
and set your own environment variables
REACT_APP_GOOGLE_API_KEY=YOUR_GOOGLE_API_KEY
REACT_APP_BACKEND_URL=YOUR_BACKEND_URL
REACT_APP_ASSET_URL=YOUR_ASSET_URL
<yourLocalRepo>/frontend
$ npm start
Rename the nodemon_sample.json
file into nodemon.json
and set your own environment variables
{
"env": {
"DB_USER": "Your user name",
"DB_PASSWORD": "Your password",
"DB_NAME": "Your database name",
"GOOGLE_API_KEY": "Your google api key",
"JWT_KEY": "Your JWT key"
}
}
<yourLocalRepo>/backend
$ npm start