Skip to content

Repository files navigation

Scrape

Showcase what can be done in vanilla.js. Inspired by:

Install

Install npm packages:

npm i

Install postgresql then create role and database:

$ psql -U postgres
postgres=# CREATE ROLE myuser LOGIN password 'mypassword';
postgres=# CREATE DATABASE mydatabase ENCODING 'UTF8' OWNER myuser;

Create table:

sh init.sh

Populate database with data:

npm run populate

Run server and see result:

npm run server

APIs

node.js

postgresql

Add database in pgadmin. Launch psql from windows menu.

--- semicolon is needed to run
insert into scrape values('1231fawer32', 1, 1);
select * from scrape;

About

Showcase what can be done in vanilla.js

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages