js-snippets

Manage your javascript sinppets

View on GitHub

JS Snippets

Web app made with python (back-end) and vue-js (front-end) to manage a list of snippets in javascript.

Usage

Features

Notes

Set up

Requirements

Clone the repository.

git clone git@github.com:Artenes/js-snippets.git

Enter in the cloned directory.

cd search

Create a new virtual environment (good practice in python to isolate dependencies).

python -m venv venv

Activate the virtual environment (we’ve just created previously, now we need to activate it).

source venv/bin/activate

Install the dependencies.

pip install -r requirements.txt

Initialize the local database (this will create the database file. It is SQLite, so no server setup required).

flask db migrate

Create the tables in the database.

flask db upgrade

Run the application.

flask run

Open the browser.

python -mwebbrowser http://localhost:5000

License

MIT License.