First. Create the mongodb server and import the databases(database/blocks.json, names.json). Modify the database configuration in .env file.
Second. Deploy the back-end
Third. Modify the NEXT_PUBLIC_SERVER_URL environment variable as the deployed backend url. Then deploy the front-end.