Wechat is a project built with React and Tailwind CSS, aimed at providing a modern chat application experience.
- Clone the repository: git clone https://github.com/patrice012/alx-project-backend Navigate to the project directory:
npm install
npm run start This will start the development server and open the application in your default web browser.
Create a .env file in the root of the project. Add your environment variables to the .env file. For example: AUTH_ACCESS_TOKEN_SECRET= AUTH_ACCESS_TOKEN_EXPIRY= AUTH_REFRESH_TOKEN_SECRET= AUTH_REFRESH_TOKEN_EXPIRY= RESET_PASSWORD_TOKEN_EXPIRY_MINS=30 DB_URI= PORT= NODE_ENV=development DOMAIN=
To run the server, use the following command:
This command will start the server and make your application accessible through the specified API endpoints.