Your notes secured in the cloud. A full-stack web application built using MERN stack, specifically React.js
as frontend and Express.js
and MongoDB
as backend.
inotebook
├── backend
│ ├── ...
│ └── ...
├── public
│ └── ...
├── src
│ ├── ...
│ └── ...
├── .gitignore
├── package-lock.json
├── package.json
└── README.md
-
Clone the repository:
git clone git@github.com:Samya-S/inotebook.git
Make sure you have SSH keys setup in your machine
-
Navigate to the project directory:
cd inotebook
-
Install dependencies:
In the parent directory
npm i
In the backend directory
cd backend npm i
Make sure to have nodejs and npm installed
-
In the parent directory:
REACT_APP_BACKEND_HOSTING_DOMAIN = '<backend hosting domain url>'
-
In the backend directory:
MONGO_URI = '<mongo db url>'
-
Navigate to the parent directory
-
Use the following command to run:
npm run both
-
Navigate to the parent directory
-
Use the following command to run:
npm start
-
Navigate to the backend directory:
cd backend
-
Use the following command to run:
nodemon index.js
or alternatively
npm start