Skip to content

Alexiiisv/Project-Forum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project-Forum

The name team is "ElodieBiscuit" :

Members

Elodie Senel (Captain) Antoine Ducoudre Eric Phung Alexis Velleine Yohan Moren

The deadline = Sunday 13 June 2021 at 23:59 oral exam = Monday 14 June 2021 at 14:15

Objectives

This project consists in creating a web forum that allows :

-communication between users. -associating categories to posts. -liking and disliking posts and comments. -filtering posts. -SQLite In order to store the data in your forum (like users, posts, comments, etc.) you will use the database library SQLite.

How to use the program ?

In order to use our program, you have to type the following on your command prompt go run main.go. Afterwards, the server will start and you will be invited to click on the link below that will take you to the website.

[![N|Solid] (https://cdn.discordapp.com/attachments/748854154398662677/852846985321250816/unknown.png) ]

Go to this link : http://localhost: 8080

SQLite

In order to store the data in your forum (like users, posts, comments, etc.) you will use the database library SQLite.

SQLite is a popular choice as embedded database software for local/client storage in application software such as web browsers. It enables you to create a database as well as controlling it by using queries.

[![N|Solid] (https://cdn.discordapp.com/attachments/748854154398662677/852849312991805450/unknown.png) ]

Main Page

This is our main page :

[![N|Solid] (https://cdn.discordapp.com/attachments/748854154398662677/852851028033536000/unknown.png) ]

Front-end

You can create your account :

[![N|Solid] (https://cdn.discordapp.com/attachments/748854154398662677/852852726131589120/unknown.png) ]

Also you can even connect to account :

[![N|Solid] (https://cdn.discordapp.com/attachments/748854154398662677/852856808724496414/unknown.png) ]

You can create topics :

[![N|Solid] (https://cdn.discordapp.com/attachments/748854154398662677/852857584791846932/unknown.png) ]

Back-end

Our code for the accounts :

[![N|Solid] (https://cdn.discordapp.com/attachments/748854154398662677/852879826444353536/unknown.png) ]

Our code for the Topics :

[![N|Solid] (https://cdn.discordapp.com/attachments/748854154398662677/852881195117182976/unknown.png) ]

Our code for the Login/Register :

[![N|Solid] (https://cdn.discordapp.com/attachments/748854154398662677/852882750762647572/unknown.png) ]

image-upload

In forum image upload, registered users have the possibility to create a post containing an image as well as text.

When viewing the post, users and guests should see the image associated to it. There are various extensions for images like: JPEG, SVG, PNG, GIF, etc. In this project you have to handle at least JPEG, PNG and GIF types.

The max size of the images to load should be 20 mb. If there is an attempt to load an image greater than 20mb, an error message should inform the user that the image is too big.

This project will help you learn about:

Image manipulation Image types

Our code for image-upload :

[![N|Solid] (https://cdn.discordapp.com/attachments/748854154398662677/852884934750240798/unknown.png) ]

[![N|Solid] (https://cdn.discordapp.com/attachments/748854154398662677/852887533050396732/unknown.png) ]

advanced-features

In forum advanced features, you will have to implement the following features :

You will have to create a way to notify users when their posts are :

liked/disliked commented You have to create an activity page that tracks the user own activity. In other words, a page that :

Shows the user created posts Shows where the user left a like or a dislike Shows where and what the user has been commenting. For this, the comment will have to be shown, as well as the post commented You have to create a section where you will be able to Edit/Remove posts and comments.

We encourage you to add any other additional features that you find relevant.

This project will help you learn about :

Data manipulation and storage

Our code for like and dislike :

[![N|Solid] (https://cdn.discordapp.com/attachments/748854154398662677/852895173071732746/unknown.png) ]

[![N|Solid] (https://cdn.discordapp.com/attachments/748854154398662677/852895742385193010/unknown.png) ]