A Tinder clone that makes matches between developers ๐ฅ
$ git clone https://github.com/gabrielsanttana/tindev
Before running the API, it's necessary to have a database setup on a MongoDB Atlas Cluster. With that, create a .env
file in the backend folder root and put these keys in environment variables and they'll work on the mongoose connection string.
Example:
MONGODB_USERNAME=username
MONGODB_PASSWORD=123456
MONGODB_CLUSTER_URL=cluster0-lfmbb.mongodb.net
If you prefer, you can just place your connection string on the server.js
file:
mongoose.connect(`mongodb+srv...`);
Then:
$ cd tindev/backend
$ npm install
$ npm run dev
The API will start serving on http://localhost:3333
Note: It's important to have the API running to be able to properly run the web and mobile app
$ cd tindev/frontend
$ npm install
$ npm start
The application will pop-up in the browser on http://localhost:3000
๐ง Under construction ๐ง