Skip to content

yemredogru/Dbase-case

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

User Registration Next.js/NestJs

Run Project - VSCODE

Clone the project

git clone https://github.com/yemredogru/Dbase-case.git

Install Dependencies - Install Node.js/Windows

  
Go to the official Node.js website: [Node.js](https://nodejs.org/en/download/) Download Page
Choose the "LTS" (Long-Term Support) version in the middle of the page   and download the "Windows Installer."
Run the downloaded .msi file by double-clicking it.
The installer will guide you through the installation steps. You can use the default options during the installation.
Once the installation is complete, Node.js and npm (Node.js Package Manager) will be successfully installed on your computer.

Install Dependencies - Install Node.js/MacOs

Go to the official Node.js website: [Node.js](https://nodejs.org/en/download/) Download Page
Run the downloaded .pkg file by double-clicking it.
The installer will guide you through the installation steps. You can use the default options during the installation.
Choose the "LTS" (Long-Term Support) version in the middle of the page and download the "macOS Installer."
Once the installation is complete, Node.js and npm will be successfully installed on your computer.

Install Dependencies - Install MongoDB/Windows

  Go to the official MongoDB website: [MongoDB](https://www.mongodb.com/try/download/community) Download Page
In the "Community Server" section, click the "Download" button to go to the download page.
Download the .msi file by clicking the "Download" button.
Run the downloaded .msi file by double-clicking it.
The installer will guide you through the installation steps. You can choose the "Complete" option to proceed.
You can also choose to install MongoDB Compass during the installation.
Once the installation is complete, MongoDB will be successfully installed on your computer.

Install Dependencies - Install MongoDB/MacOs

Go to the official MongoDB website: [MongoDB](https://www.mongodb.com/try/download/community) Download Page
In the "Community Server" section, click the "Download" button to go to the download page.
Download the .tgz file by clicking the "Download" button.
Extract the downloaded .tgz file by double-clicking it.
Open Terminal and navigate to the extracted directory (cd <extracted directory>).
To start MongoDB, run the ./mongod command in the terminal.
You can also download and install MongoDB Compass for a graphical interface.
To stop MongoDB, press Ctrl + C in the terminal.
Once the installations are complete, Node.js and MongoDB will be successfully installed on your computer.

Run Backend

  cd Dbase-case
  cd backend
  npm install
  create a .env file
  add this line to env file MONGO_URI=mongodb://127.0.0.1:27017/DbCase
  npm run start

The application will start running on localhost:3000.

Run Frontend

  cd ../frontend
  npm install
  npm run dev

The application will start running on localhost:3001.

We can register by using to the localhost:3001 link in our browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published