Skip to content

diegomais/tindev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tindev
Tindev: A tinder clone for developers 🔥

GitHub language count GitHub top language GitHub license GitHub last commit

Technologies   |    Getting started   |    How to contribute   |    License

🚀 Technologies

This project was developed with the following technologies:

Extras:

💺 Getting started

These instructions will get you a copy of the full project up and running on your local machine for development and testing purposes.

Setting up the development environment

The project is developed using Git. Git is a free and open source distributed version control system. Download Git.

The project is built with PNPm. PNPm is a fast, disk space efficient package manager. Installation.

Cloning the project

You can obtain the project by running the instruction bellow on your terminal:

git clone https://github.com/diegomais/tindev.git

Setting up the database

The project uses MongoDB.

We recommend use Docker to install and run the database above.

  1. Install Docker Desktop.
  2. Start a MongoDB instance: docker run --name tindev-mongo -p 27017:27107 -d mongo

API

Adding environment variables

  1. Rename the file .env.example on backend directory to .env.
  2. Add the MongoDB URI (e.g. mongodb://localhost:27017/tindev) into .env file.

Installing dependencies and running the server

Run the instructions bellow inside backend directory:

  1. pnpm install --frozen-lockfile
  2. pnpm dev

Web

Web application available at https://diegomais-tindev.netlify.app.

Adding environment variables

  1. Rename the file .env.example on frontend directory to .env.
  2. Add the API URL (e.g. http://localhost:3333) into .env file.

Installing dependencies and running the web application

Run the instructions bellow inside frontend directory:

  1. pnpm install --frozen-lockfile
  2. pnpm dev

Mobile

With an Android phone, you can load this project immediately at https://expo.io/@diegomais/tindev.

Setting up the development environment

Follow the instructions for Expo CLI available in the official React Native Documentation.

Adding environment variables

  1. Rename the file environment.example.js on mobile directory to environment.js.
  2. Add the API URL (e.g. http://localhost:3333) into .env file.

Installing dependencies and running the mobile application

Run the instructions bellow inside mobile directory:

  1. npm install
  2. expo start

or

  1. yarn install
  2. expo start

🤔 How to contribute

  • Fork this repository;
  • Create a branch with your feature: git checkout -b my-feature;
  • Commit your changes: git commit -m '[feat](scope) My new feature';
  • Push to your branch: git push origin my-feature.

After the merge of your pull request is done, you can delete your branch.

📝 License

This project is under the MIT license. See the LICENSE for more details.


Made with ❤️ by Diego Mais 👋.