Note.io is a dockerized note taking app focused on simplicity! This app is centralized around a mysql server and frontend ui in docker containers.
To configure the app, alter the variables within .env
.
Take note for which variables are for what part of the app. Some variables apply to both the app and the database.
It is recommended to change password, username, and database root password.
To run in a production environment, the database host may need to be changed. Find this in the docker-compose.yaml
This is a dockerized app relying on docker-compose. To run, install docker
and docker-compose
. Then run the following:
$ docker-compose build
$ docker-compose up
This will start the required containers. To access the application, navigate to localhost:3000
in a web browser
install and run in the following order:
- Database
- Server
- Client
- Navigate to the database folder via
$ cd database
- (Assuming mysql is already installed and configured) open mysql:
$ mysql
or$ sudo mysql
- source the database using
msql> source Database.sql
- Open up a new terminal
- Navigate to the server folder via
$ cd server/
- Install necessary dependencies with
$ npm install
- Start the server with
$ npm start
- Open any browser and go to
localhost:3000