Skip to content

leonacostaok/e2e-encrypted-instant-messaging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

End-to-end Encrypted Instant Messaging platform

This repository contains a client & server example that provides end-to-end encrypted instant messaging capabilities.

The code repository is split in 2, client & server. To run follow the instructions ahead in this document.

Table of Contents

Getting Started

Requirements

You need node.js (16.x) and yarn installed to run it locally. Make sure all the environment variables are set up as per the env.example file in each repo separately (server / client).

Platform Design

The design file can be found in the following Figma link.

Server deployment

# install project dependencies
$ cd ./server & yarn install
# generate migration for local environment
$ yarn prisma:generate
# run migrations in local environment
$ yarn prisma:migrate
# run backend service
$ yarn start

Client deployment

# install project dependencies
$ cd ./client & yarn install
# run the client
$ yarn start

Troubleshooting

If you have any questions, send them along with a hi to [email protected].