Investasi bijak, untuk bumi, untuk masa depan: menuju pertumbuhan ekonomi hijau yang berkelanjutan. Treest, terobasan terbaru yang menyediakan informasi terkini seputar perusahaan dan start-up yang bergerak di bidang lingkungan dan siap menerima investasi anda.
For more information about our API, please visit the documentation page below.
https://documenter.getpostman.com/view/32730747/2sA3JGf3o3
You can directly access our API by using the link provided below or running it in your local environment (see Running the application section).
https://treest-be.vercel.app/
For the current development, we already have predefined user account with username admin
and password root
for testing purposes. This account capable of creating a new company and access administrator only routes, such as view all users, delete users, delete company, delete news, delete comments, etc.
There are several technologies used in this repository:
- NestJS
- Supabase
- Prisma ORM
$ npm install
Before continuing, make sure to configure your prisma according to your database in .env and in prisma.schema.
Push prisma.schema to the database
$ npx prisma db push
Run the prisma seeder (optional)
$ npx prisma db seed
Generate prisma clients
$ npx prisma generate
Before you run the application, make sure to create an .env file in your local development using the template provided in .env.example.
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.