Giter Site home page Giter Site logo

nmsud / form Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 19.25 MB

๐Ÿ“œ Custom form app for collecting data for Unification Days

Home Page: http://form.nmsud.com/

License: GNU General Public License v3.0

TypeScript 81.44% Dockerfile 0.29% Shell 3.83% HTML 2.90% CSS 1.06% JavaScript 0.82% MDX 0.25% SCSS 9.42%
docker form koajs solidjs xata unification-day

form's Introduction

NMSUD Form

Makes submitting your builds for Unification Days easier.


header


madeWithLove gitmoji

Vite Vitest Vitepress Typescript

SolidJS HopeUI Swagger Storybook

koaJS xata Docker Github Actions

Supported by the No Man's Sky Community Developers & Designers

Profile views

๐Ÿ“ฆ Projects in this repo

Website

This is the website that contains the forms that users will see. It allows for user inputs, with validation and knows how to package all the information to be sent to the API.

API

This is able to accept requests, prevent spam, unpack and verify the contents and ultimately securely store the information in a database.

Data generator

This script is able to pull all the uploaded images and the records out of the database. Then the script manipulates and writes the data to json files to be consumed by websites, apps, etc later.


๐Ÿƒโ€โ™‚๏ธ Running the project

Requirements

  • Node.js version 18 or higher.
  • Terminal for running npm scripts.
  • VSCode is recommended.

Steps

  1. Clone this repository.
  2. Copy and rename the env.dart.template file to env.dart.
  3. In the directory where the package.json file is, run npm i to install all the required packages.
  4. Run npm run setup to run the initial setup.
  5. Run the app
    • Web can be run locally using npm run start:web.
    • API can be run locally using npm run start:api.
    • Data can be run locally using npm run start:data.

๐Ÿงช Running the tests

This project uses vitest for unit tests. The tests in this project are mostly testing the validation functions used on both the website and API projects. Hoping to add more tests in the future!

To run the tests, use the command npm run test.

codeCoverage


๐ŸŽจ Storybook

This project has Storybook set up. This is mostly for visual testing and is suitable for components such as the reusable form components in src/components/form.

To run storybook use the command npm run storybook:dev.
Then open localhost:3003


๐Ÿ‘ช Contributing

Please take a look at the Contribution Guideline before creating an issue or pull request.


๐Ÿ“„ Documentation

We have a documentation website, here you can find information on how to run the project on your machine, how the project was setup, how to add new forms, how to run unit tests and more.


๐Ÿ”— Links

Website
Discord


form's People

Contributors

khaoz-topsy avatar lenni009 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

form's Issues

Create basic data script

Script to download images and data as well as manipulate the data into a sort of query-able API

Create verify page

To let the NMSUD organiser that clicked the link, know that everything succeeded

Submission status page

After submitting a form, it would be nice to have a way to view the status of the request.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.