An open API service indexing awesome lists of open source software.

https://github.com/beastop/sat-form


https://github.com/beastop/sat-form

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# Project SAT FORM

## Description

This project is a simple web application in golang that allows users to do the following:

- Submit SAT Results and assign a rank to the record based on the SAT score
- View them all in a table
- Get a rank based on the name provided
- Update the SAT score of a record
- Delete a record
- A view all data button to view all data in the database in JSON format

## Database Design

### SAT Score Table

- id (unique)
- name (unique)
- address
- city
- country
- pincode
- sat_score
- passed (boolean, true if sat_score is greater than 30% else false)
- created_at
- updated_at
- rank

## Technologies

- Backend: Golang
- Database: SQLite
- Frontend: Templ, TailwindCSS, HTMX

## Plan

- [x] Setup http server to handle requests, and define the necessary handlers
- [x] Setup the database and create the necessary tables
- [x] Setup the empty frontend
- [ ] Implement that handlers one by one
- [x] Submit SAT Score
- [x] Delete SAT Score
- [x] View all data in JSON format
- [x] Full text search for a SAT Score by name
- [x] Update SAT Score
- [X] Get rank by nam
- [ ] Add tailwind

## Installation

Clone the repository and run the following command to install the dependencies:

```bash
go mod tidy
```

## Running the project

Run the following command to start the server:

```bash
make run
```