Skip to content

Latest commit

 

History

History
73 lines (45 loc) · 1.9 KB

File metadata and controls

73 lines (45 loc) · 1.9 KB

Cotabox Challenge

This repository is my project for the Cotabox Fullstack Developer Challenge. The link provide more information about the challenge and its rules.

Frontend

For the frontend I opted on using the following tools:

Backend

Deployment

The application was deployed to Heroku and is available here

Run locally

The backend must be run before the frontend

MongoDB must be installed locally

By default the database connection will be configured as mongodb://127.0.0.1:27017/local_db, but you can use a .env file to change it. There is a .env-example file in the root directory for convenience. The PORT variable should not be changed.

Get the project

git clone https://github.com/MatheusBaldi/cotabox-challenge.git
cd cotabox-challenge 

Backend

The backend will be available at http://127.0.0.1:4000/graphql

In the project's root directory:

cd backend
npm i
npm start

Frontend

With the backend running, open a new terminal

In the project's root directory:

cd frontend
npm i
npm run local

Everything should be working now, you should be able to access the application on http://127.0.0.1:3000/