This is the dependency of KeCafe Skuy Mobile App. Built with NodeJs using the ExpressJs Framework. Express.js is a web application framework for Node.js.
More about expressJS- 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 or lampp, etc.
- Create a database with the name note, and Import file backend-express.sql to phpmyadmin
- run the server with
npm run server
- 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 :
HOST = 'localhost'
USERNAME = 'your_mysql_user_admin'
DATABASE = 'your_database_name'
PASSWORD = 'your_mysql_user_password'
API_URL = 'url_deployed_backend'
SECRET_KEY='your_secret_key'
PORT = 'your_port'
You can grab the Postman documentation here