SAST Pass(People) is an all in one platform for all post or pre SASTer to manage their profile.
Warning
This repo is under active development! Formats, schemas, and APIs are subject to rapid and backward incompatible changes!
- Node.js >= 20
- pnpm >= 8
To get started, clone the repository and install dependencies with:
pnpm intsall
prepare postgresql database and drizzle with the following command:
docker run --name postgres-server --restart=always -p 5432:5432 -e POSTGRES_PASSWORD=postgres -d postgres
copy .env.example
to .env
and fill in the required environment variables.
Note
DATABASE_URL example: postgres://postgres:[email protected]:5432/sast-people
it's convenient to use openssl to generate a secrets
openssl rand -base64 32
after database is ready, run the following command to create the database and tables:
npx drizzle-kit generate
npx drizzle-kit migrate
npx drizzle-kit push
if you want to view tables
npx drizzle-kit studio
To start a dev server, run:
pnpm dev
To compile for production deployment, run:
pnpm build
The output will be in the .next
directory, you can run it with:
pnpm start
Goals and Vision for SAST People
Pull requests and any feedback are welcome. For major changes, please open an issue first to discuss what you would like to change.
Warning
Prior to submitting a pull request, please ensure that your code is properly formatted, linted and builds successfully.