Free and open source variant of an Assembly Voting and Agenda System.
This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn devOpen http://localhost:3000 with your browser to see the result.
The API is written with serverless-mysql for React.
There are 4 Endpoints:
- agenda ( /add | /clear | /remove | /retrieve | /retrievecurrent )
- add
- clear
- remove
- retrieve
- retrievecurrent
- speakers ( /add | /clear | /remove | /retrieve )
- add
- clear
- remove
- retrieve
- voting ( /addanalogue | /clear | /retrieve | /setnewactivevote | /stopactive)
- addanalogue
- clear
- retrieve
- setnewactivevote
- stopactive
- settings ( /quotation )
- quotation
Each Retrieve Endpoint returns a json. There is one more endpoint to set up the database [/initdb]