Skip to content

Northeastern-Science-Magazine/project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Teaching Project Template

┏━━━━━━━━━━━━━━┓                      ┏━━━━━━━━━━━━━━┓                    ┏━━━━━━━━━━━━━━┓
┃              ┃ -------------------> ┃              ┃ -----------------> ┃              ┃
┃              ┃   [HTTP Requests]    ┃              ┃   [DB Requests]    ┃              ┃
┃   Frontend   ┃                      ┃   Backend    ┃                    ┃   Database   ┃
┃   Server     ┃                      ┃   Server     ┃                    ┃   Instance   ┃
┃              ┃   [HTTP Responses]   ┃              ┃   [DB Responses]   ┃              ┃
┃              ┃ <------------------- ┃              ┃ <----------------- ┃              ┃
┗━━━━━━━━━━━━━━┛                      ┗━━━━━━━━━━━━━━┛                    ┗━━━━━━━━━━━━━━┛

     React                               Express.js                           MongoDB
     Tailwind                            Mongoose/MongoDB                     Docker
     Next.js                             

Prerequisite Technologies

Steps to run

  1. Clone this repository to your computer.
  2. Put the backend .env file in the backend folder, and the database .env file in the database folder.
  3. Run the following command in the root directory.
npm run setup
  1. Set up the database
cd database; npm start; cd ..
  1. Run the following command in the root directory.
cd backend; npm run reset; cd ..
  1. Run the following command in the root directory.
npm start
  1. Run the docker container in the Docker app

On Windows:

npm start

Open a new terminal (with the plus button on the top right)

cd frontend; npm run dev

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published