Server Files

Windus has an API backend. In order to connect with database and other services we first need to install API backend.

First step is to copy files from /src/api folder to your Node server

Then enter corresponding values in your /src/api/env.sample file and rename env.sample file to .env

Finally run command npm install && node server.js

Deploying to Vercel

Vercel provides Node server on a free tier, you can use for your API backend.

In order to transfer files to Vercel, you can use one of the following

-

Though steps may vary by node server providers, below are settings for deploying to Vercel.

You can also enter your environment variables on same page, which is more convenient than .env file.

Last updated