Skip to content

Repository files navigation

Vot It

The company VotIt wants to offer a website for polls about the IT/dev.

  • It would like that the users could sign up (email, password, pseudo) in order to create a poll (title, description) or vote on a poll.
  • When a user creates a poll, he could add some proposals.
  • A poll belongs to a category (front-end, back-end, devops, mobile, UI/UX).
  • The result of the poll must be displayed by a progression bar
  • The polls can be filtered (by category with a search)


Table of content

1-Technologies 2-Installation 3-Run 4-Built with 5-Author 6-Licence


1-Technologies

A list of technologies used within the project :

  • WAMP Server (Windows, Apache, MySQL, PHP)
  • PHP version 8.1
  • MySQL version 5.7

2-Installation

  1. Create the project in the www folder of WAMP.

  2. Download the zip or clone the project in local :
    git clone [https://github.com/Melissa-code/votit.git](https://github.com/Melissa-code/votit.git)

  3. Move into the directory :
    cd /path/to/the/file/votit

  4. Open the project with a code editor, for instance Visual Studio Code.

  5. Start WAMP and go to phpMyAdmin.

  6. Create the database votit by a SQL query in the tab SQL :
    CREATE DATABASE votit; USE votit;

Import the database (Upload the votit.sql file).

  1. You can add a new user for the database : In phpMyAdmin, click on the tab User Account. Fill in the Username and the Password fields. Then, check the global privileges (here are all privileges) and link the user to the database.

  2. Connect the project to the database.

  3. You can add a local domain :

  • Windows :
  • Open the folder C:\Windows\System32\drivers\etc\hosts
  • Add a line to the local domain : 127.0.0.1 votit.local

Finally, add the config :

<VirtualHost *:80> DocumentRoot "C:\wamp64\www\votit" ServerName votit.local </VirtualHost>

And restart Wamp server


3-Run


4-Built with

4-1-Languages and Frameworks

4-2-Tools

4-3-IDE


5-Author

Melissa-code


6-Licence

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages