Skip to content

The ACIM Fidelity App is an application that allows the registration of users, companies, loyalty cards, and points. Users can sign up, log in, update their profile, and recover their password. Companies can register, update their data, and list their information. Loyalty cards can be registered, updated, listed, and deleted, along with the asso...

License

LuisMarchio03/FidelityApp

Repository files navigation

ACIM Fidelity App

Logo

The ACIM Fidelity App is an application that allows the registration of users, companies, loyalty cards, and points. Users can sign up, log in, update their profile, and recover their password. Companies can register, update their data, and list their information. Loyalty cards can be registered, updated, listed, and deleted, along with the associated points. The application was developed in GoLang, using SQLite3 as the database and Docker/Docker Compose for the development environment. The author of the project is Luis Gabriel Marchió Batista, and he can be contacted through various platforms, such as email, LinkedIn, Github, Instagram, Discord, and WhatsApp.

Schemas

Company

  • Name
  • CNPJ
  • Address
  • Address Number
  • Address Complement
  • Address City
  • Address State
  • Address Zip Code
  • User[]

User

  • Name
  • Address
  • Phone
  • Email
  • Password
  • CompanyId (optional)
  • Type (user / employee)
  • Code
  • Photo

CardFidelity

  • UserId
  • CompanyId
  • TotalPoints
  • Finished
  • Point[]

Point

  • CardFidelityId
  • Point: 1
  • CreatedAt
  • UpdatedAt

Features

  • Create Company
  • Create User
  • Create CardFidelity
  • List Companies
  • List Users
  • List CardFidelity
  • Show Company
  • Show User
  • Show CardFidelity
  • Update Company
  • Update User
  • Update CardFidelity
  • Delete Company
  • Delete User
  • Delete CardFidelity
  • Login
  • Logout
  • Forgot Password
  • Reset Password
  • Update Profile
  • Update Password

Requirements

Schema user

  • The user must be able to register in the application with name, email, password and type (user / employee / admin).

  • The user must be able to update name, email and password.

  • The user must be able to login with email and password.

  • The user must be able to recover the password using the email.

  • The user must be able to reset the password.

  • The user must be able to update the profile (name, email and password).

  • The user must be able to update the photo profile.

  • The user must not be able to create a new user with an email already registered.

  • The user must not be able to update the email to an email already registered.

  • The user must not be able to create a new user with type employee and company not registered / not informed.

Schema company

  • The user must be able to register a company with name, CNPJ, address, address number, address complement, address city, address state and address zip code.

  • The user must be able to update the company data.

  • The user must be able to list the companies.

  • The user must be able to show the company data.

  • The user must be able to delete the company.

  • The user must not be able to register a company with a CNPJ already registered.

  • The user must not be able to update the CNPJ to a CNPJ already registered.

CardFidelity Schema

  • The user must be able to register a card fidelity with user, company, total points and points.

  • The user must be able to update the card fidelity data.

  • The user must be able to list the card fidelity.

  • The user must be able to show the card fidelity data.

  • The user must be able to delete the card fidelity.

Point Schema

  • The user must be able to register a point with card fidelity, point and created at.

  • The user must be able to update the point data.

  • The user must be able to list the points.

  • The user must be able to show the point data.

  • The user must be able to delete the point.

Technologies

  • GoLang
  • SQLite3
  • Docker
  • Docker Compose
  • Gin
  • Gorm

Author

Contact

About

The ACIM Fidelity App is an application that allows the registration of users, companies, loyalty cards, and points. Users can sign up, log in, update their profile, and recover their password. Companies can register, update their data, and list their information. Loyalty cards can be registered, updated, listed, and deleted, along with the asso...

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages