Skip to content

hmmhmmhm/serverless-prisma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🚧 Severless Prisma Template

Serverless + Prisma Template

An easy-to-use Serverless template!

  • Allowed to use typescript in serverless.js!

Serverless Is Awesome GIF

πŸ“₯ Installation

Template Download & Install

git clone https://github.com/hmmhmmhm/serverless-ts-template
cd serverless-ts-template
npm install

Install Serverless

npm install -g serverless

πŸ“œ Configulation

πŸš€ Create Hosting Service

πŸ‘©β€πŸ’» Config Serverless

You must need to setup before deploy action using to serverless config command. and must correctly set the provider config in serverless.yml

πŸ“¦ Config Template

  • You must change the handler names in every files.
    • Open up handler.ts and serverless.yml files.
    • Fix yourFunctionName to actual Lambda Function names

πŸ“” Command

  • npm test (or npm start)

    Run the development local serveless server. This command creates a path accessible through HTTP.

  • npm run deploy

    Deploy the file to the physical server. (like a AWS)

License

MIT Licensed.

About

πŸš€ Serverless Prisma 2 Template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published