This project arises with the intention of collaborating with the registration of participants to FrontEndCafé CMYK projects.
This project contains a simple list of users and an admin application (localhost:3000/admin
) with basic authentication.
To run this project first run npm install
. Note: If you generated this project via the Keystone cli step this has been done for you \o/.
Once running, the Keystone Admin UI is reachable via localhost:3000/admin
.
- knex migrate:make create_faq
- return knex.schema.createTable etc (read documentation)
- knex migrate:up (it runs every remaining table)
- to check if it worked: psql... \dt
- inside "list" create file faq.js
- createList passing the same string we passed in migrations (in this case 'faq')
- import in lists/index.js
- call it inside function loadLists in lists/index.js
(http://localhost:3000/admin/graphiql
).
To run this project first run npm install
.
Run the development server:
npm run dev
# or
yarn dev
Open http://localhost:4000 with your browser to see the result.
https://cmyk-panel-test.vercel.app/
This screen is displayed after the participant registration is successful.
path -> /success-registration
full route -> https://cmyk-panel-test.vercel.app/success-registration
This screen is shown when the maximum number of participants has been completed, but with the possibility that the person interested in participating in the event can register as a substitute participant
path -> /substitute-participant-form
full route -> https://cmyk-panel-test.vercel.app/substitute-participant-form
This screen is displayed when registrations are complete for both participants and substitute participants.
path -> /closed-form
full route -> https://cmyk-panel-test.vercel.app/closed-form