https://github.com/alsiola/manager
Local feature branch management
https://github.com/alsiola/manager
Last synced: 12 months ago
JSON representation
Local feature branch management
- Host: GitHub
- URL: https://github.com/alsiola/manager
- Owner: alsiola
- Created: 2018-12-02T23:22:09.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-10T23:17:34.000Z (over 7 years ago)
- Last Synced: 2025-02-22T06:24:05.553Z (over 1 year ago)
- Language: TypeScript
- Size: 242 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# manager
A tool to run locally to manage git branches while working on several microservices.
Massively WIP, but the idea is to define a feature with specific branches in specific repos. When starting work on that feature, the correct branches will be checked out for you in all repositories.
Goals are to be fully-typed from top to bottom, with axiomatic GraphQL in server and client with type generation. Type generation from the DB (postgres with TypeORM) is a goal.
## Make it run
First, get a postgres server running. Use the included docker-compose.yml if you like:
```
docker-compose up -d
```
Create the file `server/ormconfig.json` containing connection information, e.g.
```
{
"type": "postgres",
"host": "localhost",
"port": 5432,
"username": "postgres",
"password": "postgres",
"database": "manager",
"synchronize": true,
"logging": false,
"entities": ["lib/entities/**/*.js"],
"migrations": ["lib/migration/**/*.js"],
"subscribers": ["lib/subscriber/**/*.js"],
"cli": {
"entitiesDir": "src/entity",
"migrationsDir": "src/migration",
"subscribersDir": "src/subscriber"
}
}
```
Create an env file in `server/.env` if you want to use apollo engine, with the content:
```
ENGINE_API_KEY=
```
Now run the backend:
```
cd server && tsc && node lib
```
and the frontend:
```
cd client && yarn start
```