- Follow this instruction to create a Google API project with the Drive API enabled.
- Instead of Application Type "Other", choose "Web application"
- Under "Authorized JavaScript origins" and "Authorized redirect URIs", enter your production URL as the first value and development URL as the second (such as
http://localhost:4002
). - Create a
private
directory and move the downloaded JSON credentials file toprivate/client_secret.json
. - Create a
.env
file with the value ofNODE_ENV
set to eitherproduction
ordevelopment
. - Add the "Authorized JavaScript origins" to the
.env
file underAUTHORIZED_ORIGINS
, separated by comma - Server:
npm run dev
on development, ornpm start
on production. - Add your server URL as
API_URL
to.env
file. - Client:
npm run deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
tnguyen14/notes
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|