Skip to content

ar-corinaldi/FindMyRoomate

Repository files navigation

FindMyRoomate

Looking for a roomate? Sign up and find it!

Technologies

  • React
  • JavaScript
  • MongoDB
  • Express
  • NodeJs
  • PassportJS
  • HTML5
  • CSS

Requirements

NodeJs Previous installation of Nodejs is required. If you don't have it, go to https://nodejs.org/es/download/. The user must have Node >= 8.10 y npm >= 5.6 installed in his machine.

MongoDb Expects a Mongo Server to be running on Mongo Atlas DataBase, and it uses a database called "BouDB" with the collections "users", "shops", "products". If running locally, install MongoDB. To install it just go to: MongoDB Community Server

Once installed, on the project's root run npm install mongodb --save to install the MongoDB driver as well as its dependencies.

Installation

For this project, you are expected to run front-end and backend. So, make sure tou are running the server before running the front. To run backend:

  1. Get in the folder of the project
  2. Open the public folder
  3. Install dependencies with the package manager yarn
  4. Deploy the project
cd FindMyRoomate
cd public
npm install yarn
yarn install
yarn start

Server runs on http://localhost:8000

To run frontend:

  1. Get in the folder of the project
  2. Open the front folder
  3. Install dependencies with the package manager yarn
  4. Deploy the project
cd FindMyRoomate
cd front
npm install yarn
yarn install
yarn start

Server runs on http://localhost:3000

In order to run the sockets correctly, change the variable host of the file ./front/src/components/MyProfile.js for:

"ws://localhost:8000/"

IMPORTANT!

In order to run locally you must create a .env file containing any environment variables; DB_NAME= <database_name>, DB_URL=<URL_OfYour_Database> , SECRET= <secret_Session_Key>. This is going to be required by the dotenv module.


Link

https://find-my-roomate.herokuapp.com/


Authors

[Allan Roy Corinaldi Castaño](https://github.com/ar-corinaldi)

[Daniella Arteaga Mendoza](https://github.com/dartm05)


License

MIT

About

Looking for a roomate? Sign up and find it!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published