This is a Restaurant Directory Board Project for Purple IO's Task Test and Next.js project bootstrapped with create-next-app
.
- Front-end: TypeScript, React, Next.js
- Back-end: Json-server
- Database: Local json file
First, install Node.js. Download link
Install json-server
and yarn
globally
npm install -g json-server
npm install -g yarn
Move to project directory and install node modules
cd $project_directory
npm install
Run the json server
json-server -p 9000 db.json
Run the development server
yarn dev
Open http://localhost:3000 with your browser to see the result.