Skip to content

CMU-17-356/TEAM-777

Repository files navigation

Install Frontend Dependencies (Run inside the frontend directory.)

Run npm install or yarn install

Install Backend Dependencies (Run inside the backend directory.)

pip install -r requirements.txt
  • To connect to Mongodb, make sure to create an .env file in backend folder that includes MONGO_URI="mongodb+srv://<db_username>:<db_password>@cluster0.i8at4.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0" JWT_SECERT=

Run the application locally

  • Open a terminal in backend directory
python app.py
  • Open a terminal in the frontend directory
npm start

Frontend Code formatting and Eslint rules

  • After making any modifications in the frontend, run the following command in frontend folder:
npm run lint # Check for linting issues
npm run lint:fix # Fix auto-fixable linting issues
npm run format # Format with Prettier

Backend Code formatting rules

  • After making any modifications in the backend, run the following command in backend folder:
black . # Check for linting issues

Create your own github workspace to work with this project

About

Roommate App

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5