Skip to content

Latest commit

 

History

302 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is a connection and translation module, including both front (Ionic framework based on Angular) and back (Node JS express server + Edgedb project files).

It's compatible with Windows and Linux.

First of all, create a .env file in /back containing the following lines :

EDGEDB_INSTANCE=<string> // name of your edgedb instance
EMAIL=<string> // email address used to send emails
EMAIL_SERVICE=<string> // email service used to send emails (gmail, outlook, etc.)
EMAIL_PASSWORD=<string> // application password of the email address
PORT=<number> // port used by the server
URL_TOKEN_LENGTH=<number> // length of the url token sent by email
SESSION_TOKEN_LENGTH=<number> // length of the token used to authenticate the user
URL_TOKEN_TIMEOUT_DELAY=<number> // delay in milliseconds before the url token expires
URL_FRONT=<string>

Fill the brackets with the appropriate values.

In order to launch it, run those commands in a terminal (make sure you've got Node JS installed and updated) :

- npm i @angular/cli @ionic/cli -g

It'll install Angular and Ionic on your computer.

Make sure you have EdgeDB installed on your computer (https://edgedb.com/download).

  • In the /database folder :
edgedb project init <EDGEDB_INSTANCE>
  • Now go in the /back folder:
npm i && npm run start
  • In another terminal, go in the /front folder:
npm i && ionic serve

Enjoy ! Made in collaboration with @melian-e (https://github.com/melian-e)

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages