/todo-mern

Primary LanguageJavaScript

TODOs

TODOs is todo list that allows the users to view, create, update and delete entries.

Built With

Todos Screenshot

Visit the api and live preview.

Installation

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

Usage

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 Commands Used

$ 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