Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Latest commit

 

History

History
28 lines (18 loc) · 833 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 833 Bytes

Bookworms API

API server for bookworms web app written in Go and hosted on Vercel as serverless functions.

Prerequisite

Vercel cli must be installed for local development.

$ npm install -g vercel

Development

For local development, you need to first register a Vercel account and create a new project with an environment variable MONGODB_URI. Then link the project you created to this directory when running follow command:

$ vercel dev

If everything is OK, you should be able to access API at http://localhost:3000/api/ping.

References: