Skip to content

Keyshelltechs/MERN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Getting started with the Project

clone the repository from git [https://github.com/Keyshelltechs/MERN.git]

Workflow

Add your name to the backend env file. Frontend will call an API and will get a response with your name. Then your name will be shown in the frontend.

Getting started with the backend

  1. Get into the backend folder by running "cd backend" on the terminal.
  2. Run "npm install" or "npm i" on the terminal to install the required node modules.
  3. Create a new file .env on the root, copy the code from .env.example file to .env file.
  4. Replace the DB credentials and add your name to the env variable NAME.
  5. Now run "npm start" to run the backend.
  6. If the database is connected you can see "DB Connected" on the terminal / log.

Getting started with the frontend

  1. Get into the frontend folder by running "cd frontend" on the terminal.
  2. Run "npm install" or "npm i" on the terminal to install the required node modules.
  3. Create a new file .env on the root, copy the code from .env.example file to .env file. Replace the API url with your node API URL.
  4. Now run "npm run build" and it should provide you the build files in frontend/build directory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors