Coder Social home page Coder Social logo

jstavanja / impulze-api Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 322 KB

⚡️ An impulsive reminder app backend, sending you reminders, based on some period in seconds.

Home Page: https://impulze.stavanja.xyz

Shell 0.30% TypeScript 99.59% Procfile 0.11%
adonis adonisjs node typescript backend impulze reminder app adonis5

impulze-api's Introduction

⚡️ Impulze


Get reminded on a periodic basis!

Repository description

This repository houses the back-end application for the Impulze reminder application.

Image of the application's home page

The application uses native browser notifications on the front-end to notify you about you reminders.

Image of the application's notifications

Project description

Below are some commands that should get you set up for development.

Environment setup

First, you'll have to install packages by running:

npm install

Then, copy the contents of the .env.example file into your .env file.

Starting the development server

After setting up the application, you can start the development server by running the following command.

npm run dev

which is the equivalent of:

node ace serve --watch
  • The serve command starts the HTTP server and performs an in-memory compilation of TypeScript to JavaScript.
  • The --watch flag is meant to watch the file system for changes and restart the server automatically.

By default, the server starts on port 3333 (defined inside the .env file). You can view the welcome page by visiting: http://localhost:3333.

For development, the application will create an SQLite database for you to play around with. The testing framework will use a different instance of a database to avoid damaging testing data.

You can also use yarn if you so prefer.

Running tests

For running the tests, run:

npm run test

Running the lint checks

To run the linter, run

npm run lint

Compiling for production

You must always deploy the compiled JavaScript on your production server. You can create the production build by running the following command:

npm run build

which is the equivalent of:

node ace build --production

The compiled output is written to the build folder. You can cd into this folder and start the server by directly running the server.js file. Learn more about the TypeScript build process

cd build
node server.js

impulze-api's People

Contributors

jstavanja avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.