Skip to content

zothacks2020-team2/zothacks2020

Repository files navigation

Starting the Frontend:

First time: yarn install

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

Starting the Backend:

First time:

  1. cd backend
  2. python3 -m venv env or py -m venv env (Windows)
  3. source env/bin/activate or .\env\Scripts\activate
  4. pip3 install -r requirements.txt
  5. Make a .env file in the directory and put this line in there: MONGO_URI_MASTER="mongodb+srv://hacker:[email protected]/zothacks2020?retryWrites=true&w=majority" NOTE: REMOVE URI FROM README BEFORE MAKING REPO PUBLIC
  6. python3 app.py

After starting once:

  1. cd backend
  2. python3 app.py

HackUCI's Best Practices React Template

This is HackUCI's updated Create React App template, including functionality for SASS, directory organization, and helpful global files to ensure that your ReactJS repository is as clean as the Anteater Learning Pavilion floor.

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

Screenshots

Running Project

Screen Shot 2020-10-05 at 2 33 55 PM