HRIS is an internal project for the admin team of Sun Asterisk PH that aims to help and ease admin operations.
- ASP.NET Core (Web) 6
- MSSQL
- GraphQL
- NextJS
- Typescript
- TailwindCSS
- git clone
[email protected]:abduljalilpalala/sph-hris.git
- cd sph-hris
- cd client
- npm install
- cp .env.example .env.local
- Go to the client folder and set the
NEXT_PUBLIC_BACKEND_URL
variable in.env
with the api endpoint - cd ../api
- create a database connection string in appsettings.json e.g.
"ConnectionStrings": {
"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=sample;Trusted_Connection=True;"
})
- dotnet run
- cd sph-hris
- cd client
- npm run dev
- cd ../api
- dotnet run
- git clone
[email protected]:abduljalilpalala/sph-hris.git
- cd sph-hris
- cp .env.api.example .env.api
- cp .env.client.example .env.client
- cp .env.db.example .env.db
docker compose build
ordocker compose up --build
(this will automatically build and run the containers)docker compose up
(To stop docker containers, run:docker compose down
)
- docker compose build (to build the images)
- docker compose up (to run the containers)
- docker compose up --build (to build and run the containers)
- docker compose down (to stop the containers)
- Open MSSQL Server Management Studio
- Connect to your local or docker database engine (e.g
localhost\<container-name>,<port>
) - Fill username (e.g.
sa
- default username) and password - Click connect