A Next.js template that allows restaurants and businesses in the food industry to easily get an online menu up and running.
This project is maintained and contributed to by members of the the Self-Taught Software Developers meetup group. You can learn more about us at our meetup group page.
See the project Wiki page for further info.
Learn about contributing, pull requests, and more in our CONTRIBUTING.md file.
First, fork this repo and clone it to your machine.
Make sure you already have Node.js installed. Check this by running node -v in your terminal. If you receive back a "command not found" message, then follow these steps before moving forward.
Next, cd
into your local restaurant-menu-viewer
folder and run npm install
to install all dependencies.
Type npm run dev
in the terminal to start the development server.
Now, you should be able to navigate to http://localhost:3000 and see a web page render. Congrats — you did it!
Press Ctrl + C
to stop the development server.
The following scripts refer to the different stages of developing an application with Next.js:
npm run dev
- Runsnext dev
which starts Next.js in development modenpm run build
- Runsnext build
which builds the application for production usagenpm run start
- Runsnext start
which starts a Next.js production servernpm run lint
- Runsnext lint
which sets up Next.js' built-in ESLint configuration
To learn more about Next.js, take a look at the following resources:
- Next.js API Routes docs
- Next.js Documentation - learn about Next.js features and API
- Learn Next.js - an interactive Next.js tutorial