Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/giveth/siweauthmicroservice
Implements Sign in with ethereum
https://github.com/giveth/siweauthmicroservice
Last synced: 8 days ago
JSON representation
Implements Sign in with ethereum
- Host: GitHub
- URL: https://github.com/giveth/siweauthmicroservice
- Owner: Giveth
- License: mit
- Created: 2022-05-10T07:09:24.000Z (over 2 years ago)
- Default Branch: staging
- Last Pushed: 2024-06-27T03:06:28.000Z (5 months ago)
- Last Synced: 2024-06-28T04:57:33.728Z (5 months ago)
- Language: TypeScript
- Size: 719 KB
- Stars: 25
- Watchers: 14
- Forks: 4
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sign in with Ethereum
Reference implementation for use with Giveth.io
### Build Status:
- Develop - [![CI/CD](https://github.com/Giveth/SiweAuthMicroservice/actions/workflows/CI-CD.yml/badge.svg?branch=develop)](https://github.com/Giveth/SiweAuthMicroservice/actions/workflows/CI-CD.yml)
- Staging - [![CI/CD](https://github.com/Giveth/SiweAuthMicroservice/actions/workflows/CI-CD.yml/badge.svg?branch=staging)](https://github.com/Giveth/SiweAuthMicroservice/actions/workflows/CI-CD.yml)
- Production - [![CI/CD](https://github.com/Giveth/SiweAuthMicroservice/actions/workflows/CI-CD.yml/badge.svg?branch=main)](https://github.com/Giveth/SiweAuthMicroservice/actions/workflows/CI-CD.yml)
---
## References
I used these articles for writing project* https://blog.logrocket.com/linting-typescript-using-eslint-and-prettier
* https://rsbh.dev/blog/rest-api-with-express-typescript
### Migrations
#### Create new Migration file
```
typeorm migration:create ./migrations/createAccessTokenTable
```#### Then you need to run the migrations like so:
```
npm run db:migrate:run:local
```#### If you want to revert last migration :
```
npm run db:migrate:revert:local```