QuickPolls is a Django WebServer, that functions as a people gather, to vote in simple questions, quick and easy.
It functions in one principle: register your account, log in, enter a ongoing Poll, vote and leave a comment (opcional), and leave (if you want).
Or you can make your own Poll! Create its title, description, selection vote, and publish it! Everyone will be able to vote in it.
QuickPolls is an personal project, that will benefit me only in the educacional way. It is a Django project, to help me build kwnowledge in the BackEnd way, as a FullStack developer.
must have!
- Python 3.x+
- Node Js
Backend local server
- clone the repository with
git clone https://github.com/Navarrasa/quickpolls.git
;
- open directory with command prompt;
- change directory with
cd quickpolls_back
;
- create a Virtual environment with
python -m venv .env
;
- activate the .env with
.env/Scripts/activate
;
- install the dependencies with
pip install -r requirements.txt
;
- run the local backend server with
python manage.py runserver
;
- and thats all! Our backend server is nwo running. Now we may go to the frontend website.
Frontend website
- do not close your backend prompt, or it will stop functioning and you'll have to do it all again;
- Open the project in another command prompt window;
- change directory with
cd quickpolls_front
;
- type in the prompt
npm install
(must have node.js installed!);
- wait for the dependencies to download;
- start the new website with local dev
npm run dev
;
- open the fresh local frontend website with the localhost URL that command prompt will show you.
I hope you liked the project! I had a lot of problems while developing, but them all helped me, and I'm grateful that it all worked! Thanks a lot for reading!