Required Node.js 18 above Installed on Device (Because we will use fetch for searching data from Google API)
- Node.js 18
- MySQL
- JWT
Install all packages using NPM or YARN
npm i
yarn
Setup ENV Copy .env.example with this command
cp .env.example .env
Replace existing variables
MYSQL_PORT=3306
MYSQL_USER=user
MYSQL_PASSWORD=password
MYSQL_DB_NAME=mygbook
GOOGLE_APIKEY=apikey
Migration and Seed data
node ace migration:run;
node ace db:seed;
Run Local Server
npm run dev
Your ready to go ๐
Documentation for API already publish with Postman Documenter.