Skip to content

ramky/sl-prj1-infra-optimization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

115 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

todos-list

A simple todo list application built with MERN stack

Getting Started

Pre-requisites

  • An existing online account created for MongoDB or MongoDB Atlas
  • Alternatively, Mongo DB should be installed locally
  • Create a collection with any name you want in MongoDB
  • Node js should be installed

Running the app locally

In order to use the project locally, follow the below steps -

  • Get your connection string for MongoDB

  • Create a .env file in the root directory of project

  • Provide the connection string as key-value pair in .env

      cd ~/todos-list
    
      Create new file named .env
    
      DB_HOST='mongodb://127.0.0.1:27017'
    
  • Start the node/express back end

      cd ~/todos-list/backend
    
      yarn install .
    
      yarn dev
    
  • Start the react front end

      cd ~/todos-list/
    
      yarn install
    
      yarn start
    

About

Simplilearn project1 on infra optimization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors