Skip to content

DavidPalmgren/QuizzAppMERN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MERN Stack Project - StudyBuddy

Welcome to the StudyBuddy project, a MERN (MongoDB, Express, React, Node.js) application. For the individual project course where given a Requirement Specification we choose our own tools and methods to complete the application. This was done in 2023

Prerequisites

Before you start working with this project, make sure you have the following prerequisites in place:

Troubleshooting

I ran into a problem with older node versions i recommend using 19.5.0

Installation

Follow these steps to set up and run the project on your local machine:

  1. Clone the repository:

    git clone https://github.com/DavidPalmgren/testapp/
    cd testapp
  2. Install backend dependencies:

    npm install
  3. Install frontend dependencies:

    cd studyapp/frontend/my-react-app
    npm install
  4. Start the backend server. In the root directory (where index.ejs is located), run one of the following commands:

    • To run with Nodemon:

      nodemon
    • To run with Node.js:

      node index.ejs
  5. Start the frontend React app. In the my-react-app directory:

    npm start
  6. Environment Variables: Create an .env file in the index.ejs directory and add the following variables, which should have been provided to you:

    MONGO_URI=''
    PORT=4040
    JWT_SECRET=
    JWT_EXPIRES_IN=

If you have any questions or need assistance, please contact @davee3 on Discord or via email at palmgrendavid@gmail.com.

About

testapp for indiproj MERN

Resources

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors