Skip to content

juan1003/api-template

Repository files navigation

API Template 2.0

This is a rewrite of the API Template project using typescript and prisma.

Download the project using these commands

$ git clone https://github.com/juan1003/api-template.git
$ cd api-template/
$ bun install

Then, proceed to create a .env file with the following environment variables running this script

$ bun prisma generate
$ bun prisma migrate dev
$ bun prisma db seed

Finally, to run this project run this command

$ bun start

And you are done!

Happy Hacking!

Note: You need to have bun installed to run this project.

Note 2: You need a .env file with DATABASE_URL variable containing a postgres connection string.

About

An API template written in Node

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published