Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gaishimo/job-application
An example repository of job application system
https://github.com/gaishimo/job-application
emotion firebase firebase-functions firebase-hosting firestore react typescript webpack yarn-workspaces
Last synced: 29 days ago
JSON representation
An example repository of job application system
- Host: GitHub
- URL: https://github.com/gaishimo/job-application
- Owner: gaishimo
- Created: 2020-05-10T22:38:37.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-13T10:53:01.000Z (almost 3 years ago)
- Last Synced: 2024-10-03T09:29:22.959Z (about 2 months ago)
- Topics: emotion, firebase, firebase-functions, firebase-hosting, firestore, react, typescript, webpack, yarn-workspaces
- Language: TypeScript
- Homepage:
- Size: 6.21 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## About this
This is an example repository of job application system.
Features:
- Job Application Form
- Admin SiteTechnologies:
- TypeScript
- yarn workspaces
- Firebase (Firestore, Functions, Hosting)
- React
- Webpack
- Emotion## Setup
### Install yarn
```
npm install -g yarn
```### Install expo cli (If you use mobile app)
```
npm install -g expo-cli
```### Install expo client app (If you use mobile app)
Refer https://docs.expo.io/get-started/installation/#2-mobile-app-expo-client-for-ios.
### Create and configure a firebase project
https://console.firebase.google.com/
- Add a web app and copy sdk configurations
- Authentication: Enable Email/Password on Sign-in method and create a test user
- Database: Create a Firestore database
- Hosting: Enable Hosting and add another site (for admin-site)### Install packages
```
yarn install
```### Set Environmenal variables in .npmrc
```
cp .npmrc-template .npmrc
# Please edit .npmrc
```### Prepare .firebaserc
```
cp .firebaserc-template .firebaserc
# Please edit .firebaserc
```### Build
```
yarn build
```### Deploy firestore rules
```
yarn deploy:firestore-rules
```## Deploy
Login to firebase in advance.
```
npx firebase login
```### Deploy functions
```
yarn functions:config:set
yarn deploy:functions
```### Deploy entry-site
```
yarn deploy:hosting:entry-site
```### Deploy admin-site
```
yarn deploy:hosting:admin-site
```### Publish entry-mobile
```
yarn publish:entry-mobile
```## Development
### Run Emulator (for running functions and firestore on local)
```
yarn emulator
```### Start entry-site
```
yarn start:entry-site
```http://127.0.0.1:8080
### Start admin-site
```
yarn start:admin-site
```http://127.0.0.1:9080
### Start entry-mobile
```
yarn start:entry-mobile
```