Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/williamrolando88/scientech-public
Scientech portal repository
https://github.com/williamrolando88/scientech-public
Last synced: 7 days ago
JSON representation
Scientech portal repository
- Host: GitHub
- URL: https://github.com/williamrolando88/scientech-public
- Owner: williamrolando88
- License: mit
- Created: 2023-11-06T04:33:52.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-31T20:27:55.000Z (11 months ago)
- Last Synced: 2024-11-09T02:17:46.339Z (7 days ago)
- Language: TypeScript
- Homepage: https://development.scientech-ec.com
- Size: 3.33 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Scientech Portal
## Setup
To start working in the dev environment is required to have the following `.env` file in the root of the project:
```
# Firebase client config
API_KEY=XXXXXXX
AUTH_DOMAIN=XXXXXXX
PROJECT_ID=XXXXXXX
STORAGE_BUCKET=XXXXXXX
MESSAGING_SENDER_ID=XXXXXXX
APP_ID=XXXXXXX# Auth config
AUTH_SECRET=XXXXX
AUTH_URL=http://localhost:3000/api/auth# Forms config
FORMSPREE_SALES=XXXXXX
FORMSPREE_PROJECTS=XXXXXX# Firebase admin config
SERVICE_ACCOUNT=XXXXXX
```Each of the values can be found in the firebase console.
The `AUTH_SECRET` is a random string that will be used to sign the JWT tokens.
The `FORMSPREE_SALES` and `FORMSPREE_PROJECTS` are the form ids for the sales and projects forms respectively.
The `SERVICE_ACCOUNT` value is provided for Firebase to authenticate the admin console
## Development
Start by installing the dependencies:
```
yarn
```To start the development server run:
```
yarn dev
```By default the server will be running on port `3000`.
## Deployment
To deploy the project run:
```
yarn deploy
```The deployment is done using vercel, it's automatically configured to deploy on every push to the `main` branch.
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details