Node Authentication with TypeScript is a simple authentication system built using Node.js, TypeScript, and other related technologies. It provides basic authentication features, such as user registration, login, and access control to protect certain routes.
- User registration with Email and password or using Google
- User login with secure authentication
- MongoDB is the database to store user information
- TypeScript for enhanced code maintainability and readability
-
Clone the repository:
git clone https://github.com/Kavinkumar-97/node-authentication-ts.git cd node-authentication-ts
-
Install dependencies
npm install
-
Set up environment variables
Copy the .env.example file and rename it to .env. Modify the necessary environment variables to match your configuration.
-
Start the development server
npm run dev