Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 763 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 763 Bytes

Getting Started

First, setup the .env file:

MONGODB_URI = 'mongodb+srv://...'
MONGO_DB = 'database'
MONGO_COLLECTION = 'collection'
REDIRECT_URL = 'https://example.com'
IPINFO_TOKEN = '00a0a0a000a0a0'
TITLE = 'Example | Example App'

Then, run the server:

npm i

npm run build

npm run start

Open http://localhost:3000 with your browser to see the result.

Deploy on Vercel

The easiest way to deploy the app is to use the Vercel Platform from the creators of Next.js.

Check out the Next.js deployment documentation for more details.