Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Final project - PluggIn by Erika, Frida, Katarina & Pernilla #61

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: npm start --prefix backend
web: npm start --prefix backend
24 changes: 19 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,27 @@
# Final Project
## Final Project

Replace this readme with your own information about your project.
We built an application designed for Swedish-speaking children aged 8-9 to practice different subjects such as Math, Swedish, and English. Our main goal was to develop a flexible code base that can grow over time to include more subjects and subcategories.

Start by briefly describing the assignment in a sentence or two. Keep it short and to the point.
Users can create accounts to track their progress and view score summaries. All scores are stored in a database, ensuring that each time a user logs in, their scores are updated. This helps them track their progress and continue learning effectively

Our mission is to create a fun app that supports children's educational growth in an engaging way.

### Next step

The next step would be to add more subjects and enhancing user features, such as allowing them to update their profile information and delete their account.

## The Code

In our project, we've used React for the frontend and Styled Components for managing dynamic styling. For the backend, we used Express.js and integrated with a MongoDB database to store user progress and scores.
We also used Context API to manage global state, and found the useForm hook to be very effective for handling forms

## The problem

Describe how you approached to problem, and what tools and techniques you used to solve it. How did you plan? What technologies did you use? If you had more time, what would be next?
Our main issue was that we didn't set up a clear design structure for the project before jumping into coding. This caused us to lose time and face some misunderstandings along the way. However, we sorted things out by communicating well and sketching out a basic layout. This helped us understand how the PluggIn project should flow and what elements we needed. As a result, we all got on the same page about the project's direction.

We also should have communicated better about connecting the backend with the frontend and how to handle the code structure efficiently and in a DRY manner.

## View it live

Every project should be deployed somewhere. Be sure to include the link to the deployed project so that the viewer can click around and see what it's all about.
Frontend: https://pluggin.netlify.app/
Backend: https://technigo-pluggin.onrender.com
6 changes: 2 additions & 4 deletions backend/.babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"presets": [
"@babel/preset-env"
]
}
"presets": ["@babel/preset-env"]
}
33 changes: 33 additions & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local
package-lock.json

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
*.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
*.env


.env.local
.env.development.local
.env.test.local
.env.production.local

8 changes: 0 additions & 8 deletions backend/README.md

This file was deleted.

20 changes: 15 additions & 5 deletions backend/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "project-final-backend",
"name": "technigo-final-boiler-backend",
"version": "1.0.0",
"description": "Server part of final project",
"description": "Starter project to get up and running with your final quickly",
"scripts": {
"start": "babel-node server.js",
"dev": "nodemon server.js --exec babel-node"
Expand All @@ -12,9 +12,19 @@
"@babel/core": "^7.17.9",
"@babel/node": "^7.16.8",
"@babel/preset-env": "^7.16.11",
"bcrypt": "^5.1.1",
"bcrypt-nodejs": "^0.0.3",
"cors": "^2.8.5",
"crypto": "^1.0.1",
"dotenv": "^16.3.1",
"express": "^4.17.3",
"mongoose": "^8.4.0",
"nodemon": "^3.0.1"
"express-async-handler": "^1.2.0",
"express-list-endpoints": "^6.0.0",
"jsonwebtoken": "^9.0.2",
"mongodb": "^5.5.0",
"mongoose": "^8.0.0",
"nodemon": "^2.0.15",
"passport": "^0.7.0",
"passport-google-oauth20": "^2.0.0"
}
}
}
Loading