Skip to content

hardyyb2/mern-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

MERN Javascript (mern-javascript)

About Project -

  • redux for client and database config for server are already setup

  • Technologies used -

    • Client
      • React
      • Redux
      • Javascript
    • Server
      • Node.js
      • MongoDB
      • Javascript
  • Other Packages used -

    • client

      • react-redux
      • redux
      • redux-thunk
      • redux-logger
      • react-router-dom
    • server

      • express
      • chalk
      • cors
      • dotenv
      • mongoose
      • morgan
    • concurrently

Get Started

(All steps from root)

  • Rename .env.example to .env in client/ and server/
  • Install dependencies using (from root)
    • yarn install-all or npm install-all
  • Start the app (from root)
    • yarn start or npm start
  • Project runs live on http://localhost:3000 (client), http://localhost:3001 (server) [based on .env file config]

Contributing

For contributing to this repo, follow the guidelines mentioned in react-templates CONTRIBUTING.md

Available Scripts (from root)

In the project directory, you can run:

yarn start

    • Runs the app (client) in the development mode.
      Open http://localhost:3000 to view it in the browser.
    • The page will reload if you make edits.
      You will also see any lint errors in the console.

yarn dev

    • Same as yarn start but along with changes in client reflecting on page, changes in server also reload the server (using nodemon)

About

A MERN template in Javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published