Next with AntDesign (Live Version)
AntDesign CRUD implementation built on Next.
- next for SSR
React
. - apollo for
GraphQL
client. - express for web framework.
- styled-components for styling.
- ant design for components.
- jwt for authentication.
- mongodb for database.
- docker for containerization.
- pm2 fro clustering.
- jest for testing.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
This project runs on Node.js
After installation, run node -v
to make sure node installed correctly. Example
$ node -v
v8.9.1
Run npm run install-dev
to install all project dependencies.
Run the next with the following command:
npm run dev
Once its running, head over to your browser to see Project.
To run the project tests, run the following command:
npm run test
You can deploy the project on Heroku using the following steps:
Make sure you have a working Docker installation (eg. docker ps
) and that you’re logged in to Heroku (heroku login
).
Log in to Container Registry:
heroku container:login
Navigate to the app’s directory and create a Heroku app:
heroku create
Build the image and push to Container Registry:
heroku container:push web --app {app_name}
Then release the image to your app:
heroku container:release web --app {app_name}
Now open the app in your browser:
heroku open --app {app_name}
- Polo Chi - polo13999
- Max Li - LIYINGZHEN
Licensed under the MIT License, Copyright © 2018-present Polo Chi and Max Li.
See LICENSE for more information.