A full stack web application built with React, Express, and MongoDB.
Clone the repository
$ git clone https://github.com/williamtnguyen/SJSU-TT.git
Install dependencies for frontend and backend
$ cd frontend-v2
$ npm install
$ cd ../server
$ npm install
- Navigate to the
/server/config
directory and make a copy of thesecrets.example.json
file and name itsecrets.json
. Please reach out for the secret file contents. - Navigate to the /frontend-v2 directory and make two files,
.env.development
and.env.production
. The contents of both files will look like:
REACT_APP_HEADSHOT_S3_BUCKET_URL=<reach-out-for-url>
REACT_APP_BACKEND_API_URL=<reach-out-for-url>
To run the application, start each server in a terminal tab:
$ cd frontend-v2
$ npm run dev
$ cd server
$ npm run dev
If everything works, the terminal running the backend will respond with
Server started on port 5000
Development mode: Connected to MongoDB Atlas
and the terminal running the frontend will respond with
Compiled successfully!
You can now view frontend-v2 in the browser.
Visit https://localhost:3000
to open the development environment