Git Product home page Git Product logo

group-project's People

Contributors

0xmo avatar fiftyllama avatar sam-grierson avatar

Watchers

 avatar

group-project's Issues

Checkout

we need to add a checkout, this could probably also just be nice looking html since the degree we're actually gonna hook it up (obvs we're not taking payments)

Email/Contact

I'm assuming this is a Email/Contact page? if so it could just be static html and should be easy to do

New login and registration in nav bar. Should the old views just be removed?

With the updated nav bar should we just remove the old login and registration pages? Also I was thinking we could group login and registration under the little person icon on the right of the nav bar and use a dropdown with links to them and maybe a user profile page where they can change their details?

Product Search

We need to add product search functionality to the website, this will probably entail accessing the database, returning the results and converting them into a human readable form.

User profile page

The basic idea I had for this was just a page that shows the users current information (payment and delivery info etc) and allows them to change it. It also shows them any current orders they have placed as due to be dispatched (since we arent actually dispatching any real orders).

Web Admin Page

This is probably one of the larger ones right now, it'll take some decent front-end work, back-end db interfacing for products and/or users. should this be exploitable or is it over complicating it?

Handling the error of login/register

So when I tried to login with invalid login details, an error occurred which I couldnt solve it. As well as, if I tried to register with the same username an error occur.

Better CSS

We need to have local css? if someone could elaborate on what this entails?

ERR_HTTP_HEADERS_SENT error message causing issues with rendering the images

Theres a persitant problem with the renders where on the error handling it doesnt like re-rendering some of the pages and it cause the images to not show properly. It throws an error to the console but the website still functions correctly as far as I can see.

This is the error message im getting:

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
at ServerResponse.setHeader (_http_outgoing.js:485:11)
at ServerResponse.header (F:\Uni\group-proj\research\Group-Project\node_modules\express\lib\response.js:771:10) at ServerResponse.setHeader (_http_outgoing.js:485:11)
at ServerResponse.header (F:\Uni\group-proj\research\Group-Project\node_modules\express\lib\response.js:771:10)
at done (F:\Uni\group-proj\research\Group-Project\node_modules\express\lib\response.js:1008:10)
at tryHandleCache (F:\Uni\group-proj\research\Group-Project\node_modules\ejs\lib\ejs.js:260:5)
at View.exports.renderFile [as engine] (F:\Uni\group-proj\research\Group-Project\node_modules\ejs\lib\ejs.js:459:10)
at View.render (F:\Uni\group-proj\research\Group-Project\node_modules\express\lib\view.js:135:8)
at tryRender (F:\Uni\group-proj\research\Group-Project\node_modules\express\lib\application.js:640:10)
at Function.render (F:\Uni\group-proj\research\Group-Project\node_modules\express\lib\application.js:592:3)
at ServerResponse.render (F:\Uni\group-proj\research\Group-Project\node_modules\express\lib\response.js:1012:7)

User orders table in database

So to make the user profile page work the way I intended means that users who have made a full checkout while logged in need to have their order stored somewhere in the database. Something along the lines of: orders(username, name, email, phoneNo, address ,cardName, cardNo, expMon, expYr).

Things to add

Some things to add to the page:

  • Better CSS
  • Product Search
  • Email/Contact
  • Web Admin Page
  • Checkout

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.