Teekkariwappu.fi, wappu app built with the MERN stack along with Redux for state management and Reactstrap.
Add
MONGODB_URI = <your mongodb uri>
JWT_SECRET = <your jwt secret>
ADMIN_USERNAME = <admin username for event managing>
ADMIN_PASSWORD = <admin password for event managing>
to .env file
# Install dependencies for server
npm install
# Install dependencies for client
npm run client-install
# Run the client & server with concurrently
npm run dev
# Run the Express server only
npm run server
# Run the React client only
npm run client
# Server runs on http://localhost:5000 and client on http://localhost:3000If you want to use local MongoDB with Docker, set value of MONGODB_URI to mongodb://admin:verysecret@localhost:27017, and run command docker compose up.
The project has an admin panel for managing events that can be found at /admin. The credentials can be set in .env as instructed above.
The master branch has a workflow for deploying straight to an Azure Web App (there's dynamic content so static wouldn't work). Once the Web App is created in Azure, you need to download its publish profile and set it to this repository's secrets "TEEKKARIWAPPU_PUBLISH_PROFILE". Once that's done, the pushes should be deployed to the Web App. Deployment can be skipped by including #skip in the commit message.
Original server template made by:
Brad Traversy
Traversy Media
Github
Original Teekkariwappu app by Aleksi Väisänen
Later modifications & maintaining by Arttu Huttunen, Tommi Immonen and other Digit ry's Webmasters.
1.0.0
This project is licensed under the MIT License