Welcome to Snak. A chat app built to connect you to the world.
"Det at nogen snakker venskabeligt, afslappet eller uformelt med nogen" - Den Danske Ordbog
This is a chat application built with MEAN stack fully developed with TypeScript. It is fully responsive built on Angular 13 and powered by Tailwind CSS.
- Sign up as a new user
- Log in with your user
- See a list of all chat rooms
- Create a chat room
- Join any chat room in the list
- Send and receive messages in the chat room you have joined (powered by socket.io)
- Persistent messages and users
This application was built on a UNIX-compliant system and assumes you are running it on one as well. Linux, WSL and MacOS are supported.
- Have Node.js installed.
- Clone the repository:
git clone https://github.com/shrestaz/snak.git
- Navigate into the folder:
cd snak
- Install dependencies:
npm install
- Create an
.env
file inside the foldersnak-server
.- Complete path to
.env
file issnak/snak-server/.env
- Complete path to
- Populate with secrets provided to you
- From root of the project, start the application:
npm start
- Wait for both server and client to be built.
- In your browser, access the application at
localhost:4200
- Profit!
Only a handful of tests were written for the server due time crunch. Jest framework was used to write the unit tests.
- Navigate to the server folder:
cd snak-server
- Run the test:
npm test