ParkingReformNetwork / crud

Interface for our Supabase database
Apache License 2.0
0 stars 2 forks source link

CRUD Database App

This code runs the CRUD Database application for volunteers to interact with, input, and update datbase information relating to the Parking Lot Map and Parking Reform Map.

This project utilizes React, Typescript, and Parcel.

Running the database app

  1. Install Node Package Manager (npm).

  2. Run npm i in the main folder.

Start the development server

❯ npm run start

Then open http://localhost:1234 in a browser. Hit CTRL-C to stop the development server.

When the server is running, you can make any changes you want to the project. Reload the page in the browser to see those changes. (You may need to force reload, e.g. hold the shift key while reloading on macOS.)

Autoformat Code Using Prettier

To fix the format of your code before pushing it up to the repository, you can run the following command to do a check for you:

> npm run fmt

Check For Consistency Errors in Code

To check if there are any errors in your code, such as unused variables, use the following command:

> npm run fix

Lint Code

"Linting" means using tools that check for common issues that may be bugs or low code quality.

❯ npm run lint

Tests

There are currently no tests for this repository. Tests will be added as there is more development.