TODO App made with express & sqlite3
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
TODO app made as part of the Resilia Web Development course, to train express use.
-
You can have the usage experience of this application through it's heroku instance here.
-
For running this on your local machine, follow these steps.
- Node.js
Node is a runtime built to develop the application's back end in JavaScript language.
You can search for your preferable form of download here.
- A Postgres database
You can use a database located on your own machine.
or
Use a database from a hosting service provider (the heroku instance of this app uses ElephantSQL)
- Clone the repo
git clone https://github.com/Joaquim09Castro/TODO_app.git
- Install NPM packages
npm install
- Set the
database.js
file to use your database:
// Option 1. Set the value directilly to the connection string value
const databaseURL = "YOUR_DATABASE_CONNECTION_STRING";
// Option 2. Install the dotenv node package and set the DATABASE_URL variable value inside it
DATABASE_URL="YOUR_DATABASE_URL"
- On your computer's terminal, run the code
node src/config/database/tableCreation.js
- Run the code
npm start
to initialize the application on your machine.
- Use the Port number the application gives you and go to
http://localhost:(PORT_NUMBER)
You may set a PORT value in your .env file
By default the app will use it's value.
If there is no value for PORT in it, the app will use Port 9000
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Joaquim Rodrigo Moraes de Castro - joaquimcastro2909@gmail.com
Project Link: https://github.com/Joaquim09Castro/TODO_app