Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reetou/apperback
Backend for mobile app builder - Apper
https://github.com/reetou/apperback
Last synced: about 1 month ago
JSON representation
Backend for mobile app builder - Apper
- Host: GitHub
- URL: https://github.com/reetou/apperback
- Owner: reetou
- Created: 2020-10-22T19:15:21.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-22T19:15:56.000Z (about 4 years ago)
- Last Synced: 2024-12-04T03:08:02.125Z (about 1 month ago)
- Language: Elixir
- Size: 173 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Apperback
Backend for mobile app builder - Apper (https://github.com/reetou/apper)
User can store projects and build them. Build is happening inside gitlab CI runners when backend sends request to Gitlab Pipeline API (see `lib/apperback/project_build.ex`) to trigger pipeline job by name (ios, android, publish js bundle) in special repo that contains scripts for building and publishing React-Native app to Expo.io servers.
Sooner I realized that this project is not a one-man job and decided to abandon it.
It worked tho.
I decided to omit auth part when building MVP until launch phase but it did not happen so there's no auth.
You can generate auth token this way:
- `mix deps.get`
- `iex -S mix`
- Then type this in terminal: `ApperbackWeb.AuthService.sign(%Apperback.User{id: "123"})`
- You will get token to use when sending requests to `/api/projects`### TODO
1. Add these env vars to ansible config so it would work when deployed:
- GITLAB_PROJECT_ID
- GITLAB_TRIGGER_TOKEN
- GITLAB_PROJECT_ACCESS_TOKEN