- React.JS
- Express.JS
- Node.JS
- MongoDB
- CORs
- NPM
- Tailwind CSS
- Axios
All the technologies used are open source
- Install Node JS - Refer to https://nodejs.org/en/ to install nodejs
- Clone the project on localhost
git clone https://github.com/blackchapel/typeR.git
- Move to the project directory
cd .\typeR\
- Install required npm packages
npm install
- Spin up your cluster in MongoDB and also create a
.env
file - Replace your connection with URI in
.env
- If you face any problems, refer to the MongoDB website.
Install the MongoDB Node.js Driver with the following command:
npm install mongodb
Set up a MongoDB Atlas Database by following this short MongoDB setup video till the 3:20 mark. Stop after that mark!
On your Cluster home page, select CONNECT > Connect your application.
- Select Node.js in the drop down for your driver, and select the latest version.
- Then, copy the connecting string (URI).
- Paste this string as the value of mongoURI inside
.env
of this project.
Replace the <password>
section of the string with your Database Access password. Your server should now successfuly connect to MongoDB!
- Execute the command
npm start
- Nodemon will automatically run node server.js for you
- If everything executed properly, you will get a log
Connected at 3001
on the console. - Hurray! The web would now be up and running on
http://localhost:3001/