Giter Club home page Giter Club logo

alias-gandi-angular's Introduction

Alias Gandi Angular

Maintainability Rating CircleCI Github Action Netlify Status

If you have your domains on Gandi, manage your email aliases easily with this small web app. It will fetch all your domains, and list associated mailboxes so you can add aliases on it.

This project was initially made to be available for all gandi users, using the Gandi ID provider. Because the API is currently in beta, this is not possible, only the login flow is available, the associated access_token we get from here is not usable to get domains and emails data. You have to generate your own API key from here and deploy your own version of this application if you want to use it. See (issue #4) for details.

Deploy your own instance

You can easily host your own instance for free, thanks to Netlify and their serverless functions. The free tier offered should be more than enough for personal use.

Click the button below to deploy an instance, with this repository as template.

You'll have to configure a few environnements variable before you can access your own instance.

Parameter Comment
GANDI_API_KEY Your API Key to interact with your Gandi account. See here on how to get it
JWT_SECRET A >=32 char string, randomly generated to act as your JWT secret.
LOGIN_PASSWORD The password you'll use to login to the app.

Generate a JWT_SECRET with the following command : cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1.

Start

  • cp .env.dist .env && vim .env : Setup environment variables. See section below
  • npm ci : Install dependencies
  • npm ci --prefix netlify : Install lambda dependencies
  • npm run lambda:tsc:watch : In a separate terminal, will allow to watch and compile ts files to the lambdas folder.
  • npm run dev : This will start the netlify dev environment.
  • Open localhost:3000

You do not have to start the angular server as it will be automatically be started by netlify-cli. If you only want to edit angular part without netlify, run npm start

Their is a proxy where lambdas are executed at http://localhost:4200/api/*. See proxy.config.json for details.

Screenshots

desktop mobile

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.