Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nkrumahthis/assorted-jollof
Same basic REST api server. Rewritten in 6 languages
https://github.com/nkrumahthis/assorted-jollof
golang rest-api rust typescript
Last synced: about 2 months ago
JSON representation
Same basic REST api server. Rewritten in 6 languages
- Host: GitHub
- URL: https://github.com/nkrumahthis/assorted-jollof
- Owner: nkrumahthis
- Created: 2023-01-25T14:15:24.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-21T21:45:25.000Z (9 months ago)
- Last Synced: 2024-04-23T19:14:16.920Z (9 months ago)
- Topics: golang, rest-api, rust, typescript
- Language: PHP
- Homepage:
- Size: 203 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Assorted Jollof
AssortedJollof is a repo of one same basic REST api server.
Rewritten in 6 languages: typescript, go, python, php, java and rust.The server will persist and read relational data to/from a mysqlite3 database.
## Design
This is just CRUD for the following data
| Model | Attributes |
| -------- | ----------------------------------------------------- |
| User | id, name, email, password |
| Customer | id, name, phone, token |
| Order | id, packs, userId (User), location, status |
| Payments | id, amount, orderId (Order), timestamp, userId (User) |## Implemented
### Typescript (Express)
- [x] models
- [x] routers and controllers
- [ ] filters
- [ ] auth### Go (Fiber)
- [x] models
- [x] routers and controllers
- [x] filters
- [ ] auth### Rust (Rocket)
- [-] models
- [-] routers and controllers### Php (Lumen)
- [x] models
- [x] routers and controllers
- [ ] filters
- [ ] auth