Skip to content

blackchapel/xreventi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Type R

Project Structure

Hosted Links

Technologies Used

  • React.JS
  • Express.JS
  • Node.JS
  • MongoDB
  • CORs
  • NPM
  • Tailwind CSS
  • Axios

All the technologies used are open source

Getting Started

Prerequisites

Cloning the repository locally

  • 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

Connecting to the Database

  • 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.

Connecting to the Database if you haven't used MongoDB Atlas before

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.

  1. Select Node.js in the drop down for your driver, and select the latest version.
  2. Then, copy the connecting string (URI).
  3. 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!

Running the website locally

  • 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/

Screenshots

image image

Contributers

About

Project for the SPIT Hackathon 2023

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published