Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/murshidazher/employee-manager-api
π§βπΌπΌ An employee management api
https://github.com/murshidazher/employee-manager-api
express graphql monorepo turbo typescript
Last synced: about 4 hours ago
JSON representation
π§βπΌπΌ An employee management api
- Host: GitHub
- URL: https://github.com/murshidazher/employee-manager-api
- Owner: murshidazher
- License: mit
- Created: 2023-07-21T15:07:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-30T02:59:24.000Z (10 days ago)
- Last Synced: 2024-10-30T05:15:20.316Z (9 days ago)
- Topics: express, graphql, monorepo, turbo, typescript
- Language: TypeScript
- Homepage:
- Size: 187 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [employee-manager-api](https://github.com/murshidazher/employee-manager-api)
![Express.js](https://img.shields.io/badge/express.js-%23404d59.svg?logo=express&logoColor=%2361DAFB)
![GraphQL](https://img.shields.io/badge/-GraphQL-E10098?logo=graphql&logoColor=white)> π§βπΌπΌ An employee management system with express.js
## Table of Content
- [employee-manager-api](#employee-manager-api)
- [Table of Content](#table-of-content)
- [Pre-requisite](#pre-requisite)
- [Up and Running](#up-and-running)
- [LICENSE](#license)### Pre-requisite
> π‘ We use pnpm as a drop-in replacement for `npm`
1. Install either nvm or asdf to manage your node version.
2. Install the node version mentioned in the `.nvmrc` file.
3. Install `pnpm` globally as package manager,```sh
npm install -g pnpm
```4. Install docker daemon and use `docker-compose` to spin up the necessary services,
```sh
pnpm --filter core-api docker:up
```5. Seed the employees
```sh
pnpm --filter core-api migrate:seed
```### Up and Running
```sh
pnpm i
# copy the .env.example and specify the url
pnpm cpy-env
# run the development server
pnpm i
pnpm build
pnpm --filter core-api start:dev
```To execute any `core-api` script without changing directories,
```sh
pnpm --filter core-api {command}
```## LICENSE
[MIT](./LICENSE) Β© [Murshid Azher](https://github.com/murshidazher)