Skip to content

jostein-tollefsrud/bachelor-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Development of a new website for the Student House in Gjøvik

«How to optimize and improve the user-friendliness of the web solution for the Student House in Gjøvik»

Bachelor thesis in Web Development

13. may 2022

Live demo here


Table of Contents

General Information

This is the source code for our Bachelor thesis in Web Development.

The project has optimized and improved the user-friendliness for the Student House in Gjøvik by making it easier to maintain the content of the website, and improved the design for a more understandable navigation through the site.

All images are from Studenthuset in Gjøvik and from Unsplash.com

Technologies Used

Frontend:

Backend:

Features

  • Internationalization (i18N)
  • Dynamically rendered pages

Setup

For this project you will need to have Node.js with npm installed. If not, download Node.js here and install it on your computer.

This directory contains two folders: backend and frontend.

Open up two terminals, one for each folder. Navigate to backend in one and frontend i the other.

Terminal one: ~/frontend

Terminal two: ~/backend

Run this command in both terminals to install all packages: npm install

Usage

Now you can start using the application. You can either run the frontend or backend for development, or as a server.

For safety reasons we have removed the ability to run the build script in backend to prevent the cashe and tmp folder to be overwritten and removing the content made.

Development mode

If you want to run it in development mode, first start the Strapi backend:

# Inside backend directory, run develop:
npm run develop

# In development mode you can make new collections and edit the entire app.

To manage the project, go to the administration panel at: http://localhost:1337/admin

To access the server, go to: http://localhost:1337

Email for login in: admin@admin.com Password for login: Admin123

Then run the Next.js frontend:

# Inside frontend directory, run dev:
npm run dev

The frontend will be served at localhost:3000

Server mode

To run Strapi in server mode, first start the Strapi backend:

# Inside backend directory, run start:
`npm run start`

# In server mode you will not have access to modify or add new collections.

To manage the project, go to the administration panel at: http://localhost:1337/admin

To access the server, go to: http://localhost:1337

Email for login in: admin@admin.com Password for login: Admin123

Then run the Next.js frontend build script:

# Run build script inside frontend directory:
npm run build

Now run the Next.js frontend server:

# Run start script inside frontend directory:
npm run start

The frontend will be served at localhost:3000

For more information and documentation for the technologies used in this project, visit the official documentation:

Documentation for Next.js

Documentation for Strapi

Documentation for Sentry.io

Documentation for Panelbear

Project Status

Project is: complete

Room for Improvement

  • Split up the code in more components in frontend for better organization.
  • Add more comments inside code.

Contact

Created by Jostein, Leonard and Ida - feel free to contact us!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published