First, run the development server:
yarn devOpen http://localhost:3000 with your browser to see the result.
First copy .env.example file to .env. You can also create a symlink with ln -s .env.example .env.
Then you can run local database easily with Docker and Docker Compose via docker-compose up db. If you want the database to run in the background, simply add a -d option so it becomes docker-compose up -d db. The database will be available on localhost:3306.
You can then stop the database with docker-compose stop db.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
- Next.js
- Apollo Server and Apollo Client
- Chakra UI