Skip to content

LavanSumanan/nathacks

Repository files navigation

This project was bootstrapped with Create React App.

Requirements

Back end server

In the api directory:

  • python3 -m venv venv
  • numpy
  • flask
  • dotenv
  • pymongo

Front end server

In the nathacks directory:

  • npm install yarn
  • npm install

Starting the servers

Back end server

To start the backend server, create a .flaskenv file in the api/venv directory with

FLASK_APP=api.py

Then, cd into the venv and enter flask run in the terminal. This will run the flask API on port 5000.

Front end server

To start the frontend server, run yarn start in the nathacks directory. This will run the react app on port 3000 (with a proxy to make requests to port 5000).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •