Samuel OkaFrontend developer
Case File #06
fullstack Web Application

DONCAS PRIVATE SCHOOL

A fullstack Web Appliation for Doncas private schcool

CASE FILE

#06

ROLE

Frontend Developer

TYPE

fullstack Web Application

Doncas Private School - hero
01 - Overview

THE MISSION

Doncas private school is a primarcy and secondary school ,i was built the school's first web application with an admin page

02 - Problem

THE PROBLEM

The wanted a website to show shool events and pass official informations

Before the solution
Spreadsheet chaos — 47 open tabs
Lost invoices — no audit trail
Missed payments — zero visibility
Frustrated freelancer — every time
03 - The solution

THE SOLUTION

I built a full stack web appliation with multiple pages using next.js, typescript, tailwind css and prisma

  • Add up coming events
  • Send out news letters
  • contact the school via email
  • User-friendly interface
04 - How i built it

HOW I BUILT IT

Step 01

Gathering information from my client about how they want their site to look like

Step 02

Built the frontend part of the website

Step 03

Designed a schema for the database

Step 04

Built an admin page to manage the database

05 - Boss Battles

BOSS BATTLES

Battle #01

ANIMATIONS

Bug Detected

Animating numbers to go from zero to the a designed number, the numbers were in an array and i had to map through it whih broke my ui

Fixed

I read through framer motion documentations, i made the animation a component that taes in data(number and other information) as a prop , i made use of useMotion , useAnimate and useRef

Battle #02

PHOTO COLLEGE

Bug Detected

I wanted the maintain the height of each picture to give it a cool college style

Fixed

I used col-[] a tailwind class to determine how many pictures would display on a colum and the pictures had h-auto .

Battle #03

DATABASE

Bug Detected

Intigrating Prisma postresqul

Fixed

After intigrating my sqLite to the website ,i noticed i had a development error on vercel ,since i wasnt push my env file to git hub , i had to migrate to postresquel

Battle #04

ADMIN PAGE

Bug Detected

Updating data on server component

Fixed

I fetch data on a server component and passed it into another component where i edited the database

06 - Mission Complete

MISSION COMPLETE

A crud website with an admin page

Fully responsive layout

A contact form linked to the school's email

07 - Tools Used

TOOLS USED

React
Prisma
Typesricpt
Tailwind CSS
Vercel
postgresql
08 - Evidence

EVIDENCE

App screenshot 1
EXHIBIT 01
View Full
App screenshot 2
EXHIBIT 02
View Full
App screenshot 3
EXHIBIT 03
View Full
App screenshot 4
EXHIBIT 04
View Full
App screenshot 5
EXHIBIT 05
View Full

- End of Chapter#06

END OF
CHAPTER ?

“There's more to bulid.”

Prev Case FileINVOICE APP