Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alejandroblanco2001/e-votingbackend
This project was done under the technologies of NodeJS, Helmet, CORS, Ethers, Dotenv, Otplib and QRCode, in addition to having a technology for the PostgreSQL database stored in ElephantSQL to control the instance.
https://github.com/alejandroblanco2001/e-votingbackend
2factor helmet nodejs-server otplib
Last synced: 18 days ago
JSON representation
This project was done under the technologies of NodeJS, Helmet, CORS, Ethers, Dotenv, Otplib and QRCode, in addition to having a technology for the PostgreSQL database stored in ElephantSQL to control the instance.
- Host: GitHub
- URL: https://github.com/alejandroblanco2001/e-votingbackend
- Owner: AlejandroBlanco2001
- Created: 2022-05-31T02:23:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-01T03:37:20.000Z (over 2 years ago)
- Last Synced: 2023-03-08T14:30:20.899Z (almost 2 years ago)
- Topics: 2factor, helmet, nodejs-server, otplib
- Language: JavaScript
- Homepage:
- Size: 3.52 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# E-VotingBackend
This project was done under the technologies of NodeJS, Helmet, CORS, Ethers, Dotenv, Otplib and QRCode, in addition to having a technology for the PostgreSQL database stored in ElephantSQL to control the instance.
This is the backend system for the creation of an electronic voting system oriented to decentralization through the Blockchain under Solidity technology for the creation of smart contracts. In addition to the integration of the **Google Authenticator** application to perform a 2FA.
You can visualize how it works on the website https://vot-e-front.herokuapp.com/
## Requirements
For development, you will only need Node.js and a node global package, Yarn, installed in your environement.
### Node
- #### Node installation on WindowsJust go on [official Node.js website](https://nodejs.org/) and download the installer.
Also, be sure to have `git` available in your PATH, `npm` might need it (You can find git [here](https://git-scm.com/)).- #### Node installation on Ubuntu
You can install nodejs and npm easily with apt install, just run the following commands.
$ sudo apt install nodejs
$ sudo apt install npm- #### Other Operating Systems
You can find more information about the installation on the [official Node.js website](https://nodejs.org/) and the [official NPM website](https://npmjs.org/).If the installation was successful, you should be able to run the following command.
$ node --version
v8.11.3$ npm --version
6.1.0If you need to update `npm`, you can make it using `npm`! Cool right? After running the following command, just open again the command line and be happy.
$ npm install npm -g
## Running the project
$ npm run dev