TODOs is todo list that allows the users to view, create, update and delete entries.
Visit the api and live preview.
Clone the repository, change to the directory and use npm scripts separately to install the dependencies of the server and client
$ git clone https://github.com/gbgabiola/todo-mern
$ todo-mern
$ npm run install-server # cd to backend & npm install
$ npm run install-client # cd to frontend & npm install
Rename .env.example
file into .env
add your mongoDB URI credential:
MONGO_URI=mongodb+srv://<username>:<password>@cluster0.iwurr.mongodb.net/
Run the server and client:
$ npm run start-server
$ npm run start-client
or
$ npm run build-client
Open now the browser and launch:
$ git remote add origin ...
$ git status
$ git add
$ git commit
$ git commit --amend --no-edit
$ git checkout -b <branch>
$ git merge <branch>
$ git push -u origin <branch>
$ git log