Code-Society-Lab / cursif-backend

A collaborative, scriptable and flexible note taking application.
https://codesociety.xyz/
GNU General Public License v3.0
8 stars 2 forks source link
collaboration elixir flexible notes open-source scriptable

Cursif Backend

Join on Discord License Last Updated Elixir Phoenix PostgreSQL

Cursif is a collaborative, scriptable, and flexible note-taking application that aims to help teams manage their projects.

Getting Started

Requirements

Configurations

Make sure you have installed the requirements above before continuing.

Connect your database

In the project root directory, locate and edit the file named .env. Add the following information inside.

export POSTGRES_USER=<your database username>
export POSTGRES_PASSWORD=<your database password>

Setup the application

Start the application:

Start Cursif with mix phx.server or inside IEx with iex -S mix phx.server (recommended for development). You can, now, consume the API from localhost:4000/api. You can test queries at localhost:4000/graphiql

To monitor the application, you can access the dashboard at localhost:4000/dashboard from your browser.

Troubleshooting

If the application fails to load the environment variable, execute source .env from the root directory

Advance configurations

For advanced configurations, visit the wiki

Resources

Elixir

Phoenix

Absinthe & GraphQL

Contribution

Contributions are always welcomed and appreciated! See the contribution guidelines.