Skip to content

robsonrg/node-deploy-render

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy Node app on Render

Based on video https://www.youtube.com/watch?v=pmXfvd6Zqg4, I create this repo for test and deploy an node app on Render.

Using:

  • typescript
  • prisma for ORM
  • tsup for build
  • fastify for simple routes
  • zod for data validations

And use postgresql for database.


Install and run locally

1 - Install node modules

$ npm install

2 - Config postgresql string connection on .env file

3 - Start postgresql container

$ docker compose up -d

4 - Install migrations

$ npx prisma migrate dev

5 - Start HTTP Server

$ npm run dev

Now, you can list users: http://localhost:3333/users

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published