Welcome to the Node Authentication Project documentation. This project provides a secure authentication system using Node.js, Express.js, and React.js.
To quickly get started with the project, follow these simple steps:
git clone https://github.com/suyogsatyal/node-auth.git
Navigate to the project directory and run the following command to download the needed dependencies:
npm install
Navigate to the project directory and run the following command to start the frontend server.
npm run frontend
This command initiates the frontend server, and you can access the frontend at http://localhost:5173 by default.
Open a new terminal window, navigate to the project directory, and run the following command to start the backend server:
npm run backend
This command initiates the backend server, and you can access the frontend at http://localhost:3000 by default.
Folder Structure of the project so far
.node-auth
├── backend
| ├── routes
| | ├── authRoutes.ts
| | └── usersRoutes.ts
| ├── .env
| └── server.ts
├── db
| └── database.db
├── frontend
| ├── src
| | ├── components
| | | └── Context.tsx
| | | └── Navbar.tsx
| | ├── pages
| | | ├── Login.tsx
| | | └── Signup.tsx
| | ├── App.tsx
| | ├── index.css
| | └── main.tsx
| ├── .env
| └── index.html
└── utils
├── interface.ts
└── schema.ts