Redaloukil / chuck

To Do and personal planner.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chuck

Gitter Maintenance GitHub license GitHub contributors HitCount

GitHub stars GitHub forks GitHub watchers

To Do and personal planner.

💽 Installation instructions

You must have Go and npm installed in your computer. Then follow these steps:

go get github.com/C-Anirudh/chuck

Install all Go dependencies by running

go get github.com/gorilla/mux

Install http-server by running the command

npm install -g http-server

Run your http-server by executing the command

npm start

and your Go server by running the following command in your service folder

go run main.go

Navigate to http://localhost:8080/#!/ in your browser to see the application.

Tip: Changes to the html, css and js files may not reflect immediately in the browser because of caching. It is advisable to install a browser extension that clears the cache for you.

Setting up the Database

This project uses PostgreSQL as its backend database. You can install it by following the instructions provided in their official site.

Once installed you can connect to PostgreSQL from the command line using the command

psql -U postgres

Command to create a database

CREATE DATABASE chuck;

You can connect to the database by typing

\c chuck

You can see the list of relations by typing

\d

Add the name of the database and your db password to the const variables provided at the start of main.go

🔧 Technology Stack

  • Backend Go
  • Front-end AngularJS
  • Database PostgreSQL

Contributing

Refer CONTRIBUTING.md for instructions on how to contribute to the project.

About

To Do and personal planner.

License:MIT License


Languages

Language:JavaScript 88.4%Language:Go 6.5%Language:HTML 4.6%Language:CSS 0.5%