This project is a my backend project, the name is RythzChat App. RythzChat is a web-based chat application that aim to connecting people around the world wth one click. More about Express. More about Express
- Open app's directory in CMD or Terminal
- Type
npm install
- Make new file a called .env, set up first here
- Turn on Web Server and MySQL can using Third-party tool like xampp, etc.
- Create a database with the name
databasename
, and Import file sql to phpmyadmin - Open Postman desktop application or Chrome web app extension that has installed before
- Choose HTTP Method and enter request url.(ex. localhost:3000/)
- You can see all the end point here
Open .env file on your favorite code editor, and copy paste this code below :
DB_HOST=localhost // Database host
DB_USER=root // Database user
DB_PASS= // Database password
DB_NAME= // Database name
PORT=3000 // PORT
Link Postman click here