Skip to content

All in one platform for all post or pre SASTer to manage their profile

Notifications You must be signed in to change notification settings

MaxtuneLee/sast-people

Repository files navigation

SAST Pass(People)

License

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!

Get Started

Pre-requisites

  • Node.js >= 20
  • pnpm >= 8

Clone and Run

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:postgres@127.0.0.1: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

Development

Roadmap

Goals and Vision for SAST People

SAST People PRD

Contributing

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.

License

AGPLv3

About

All in one platform for all post or pre SASTer to manage their profile

Resources

Stars

Watchers

Forks