github.com/robcole/findit
main / published Oct 10, 2022 / repository
lucky api app + crystal 1.6
findit
This is a project written using Lucky. Enjoy!
Setting up the project
- Install required dependencies
- Update database settings in
config/database.cr - Run
script/setup - Run
lucky devto start the app
Learning Lucky
Lucky uses the Crystal programming language. You can learn about Lucky from the Lucky Guides.
API
- Api
- ApiAction
Include modules and add methods that are for all API requests
- AppDatabase
- AppServer
- BaseEmail
Learn about sending emails https://luckyframework.org/guides/emails/sending-emails-with-carbon
- BaseModel
- BaseSerializer
- ErrorSerializer
This is the default error serializer generated by Lucky.
- Errors
- Home
- PasswordValidations
- RequestPasswordReset
- ResetPassword
- SignInUser
- SignUpUser
- User
- UserFromEmail
- UserQuery
- UserSerializer
- UserToken
Generates and decodes JSON Web Tokens for Authenticating users.