Hvordan kjøre lokalt (om jeg husker riktig hehe). Send mld i slack om det dukker opp en feilmelding):
- Klon repoet (kjør "git clone https://github.com/dotkom/autobank.git" i mappen du ønsker å klone til).
- sørg for å ha node.js installert
- kjør npm install --global yarn i terminalen
- lag .env.local-fil i root (mappen som heter "autobank") og lim inn tekst fra slack
- Kjør "yarn dev" i terminalen fra "autobank"-mappen.
A website created for managing Bankom tasks and applications bullt with Nextjs
This a website to gather all information for bankom, and handle request from outside the comitee. And allow bankom to organize its internal systems
This will include a remaking kvittering.online.ntnu and faktura.ntnu.no into a single website along with relevant FAQ and a new form for requests to onlinepotten.
The Purpose of this is to create a dashboard for Bankom with the abaility to:
- Approve or deny requests to all forms, and give the users a chance to change the request if something is wrong without having to send a new request
- Assign recipts and invoices to events
- keep track of money spent for events and budget items
Make sure you have Node.js installed. Preferably version 14^
#install yarn
npm install --global yarn
# Install dependencies
yarn
# start development server
yarn dev
# Run the bot
yarn build
Generally follow nextjs guidelines
home - landing page
recipt - create a porposal/request for a recipt to be payed back request shuold apprear on the adminpage and be able to be denied and changed.
Onlinepotten - create request for economical support for work that helps Online as a organization
FAQ - A simple FAQ for all relevant economy related questions
/
/recipt
/onlinepotten
/faq
home - landing page
idk - A page for connecting recipts, invoices ....
recipt - handle recipts and deny with the possibility for the user ot improve on the request and edit simple mistakes with the user getting an email of the change
also have the ability to se former recipts and register new ones as paid
Onlinepotten - deny and apporove request as well as se amount spent paid and waiting for recipts belonging to the request
FAQ - A simple FAQ for all relevant economy related questions just for bankommembers
/admin
/admin/idk
/admin/recipt
/admin/onlinepotten
/admin/faq
All connectons to the db
- nextjs
- tailwindcss
- nextjs API
- postgres db?
in the future some e2e tests and unit tests
/.next # built website
/components # Components for the pages
/interfaces # types and interfaces
/node_modules
/pages # Pages for urlaccess
/styles # CSS styles that doesn't fit tailwindcss
/utils # utilities
.ignore # Files to ignore in git
CONTRIBUTING.md # guidelines for contributions
next-env.d.ts # do not edit
package.json
postcss.config.js
README.md
tailwind.config.js # location of theme and css classgenerations
tsconfig.json
yarn.lock
If you have suggestions for how Pennywise Macrosystem could be improved, or want to report a bug, open an issue!
For more, check out the Contributing Guide.
empty