Introduction

Not Ready For Production!

  • GalataJS Framework is still under development and will probably be released in 2023 Q3 stable version. We do not recommend using it for production until this time.

What is GalataJS Framework?

GalataJS, it is a framework that works on the server side and allows you to write code more effortlessly using NodeJS APIs. It provides an infrastructure for everything you can do on the server, as much as you want.

GalataJS packages are based on divide and rule logic and there is a package for each job -This point similar to NodeJS modules-. GalataJS Framework emerges as the packages come together. We can liken it to the division of countries into provinces for better governance. Thanks to this feature, GalataJS becomes the size you want. Where will be no clutter of code for anything you don't use.

Our Philosophy

Almost everything we do in our life, we do it for a need. We eat to satisfy our need hunger and sleep to satisfy our need for sleep. In the same way, we do the work we do for a need. We take certain actions on a server for users to chat from your website, to store and manage data, to collect input for an activity or for many needs.

Our point here is just what we need. And GalataJS was developed to support whatever you need.

  • do you need a chat app?
  • do you need a http application?
  • do you need a websocket application?

questions can be increased. GalataJS is the correct answer to all these questions including the ones we did not write. With galatajs-creator you can choose your desired needs and install suitable template on your server.

GalataJS; Inspired by NodeJS, VueJS, Express and NestJS.

Setup Your GalataJS Project

Required Dependency

  • You must have NodeJS installed on your computed to perform the next step.

Run the following command in the directory where you want to create your project.

yarn init galatajs
npm init galatajs

Then you will be asked questions such as the following. Enter the answers suitable for your project and the foundation of your project will be formed!

 Project name: <your-project-name>
 Need TypeScript? No / Yes
 Need HTTP? No / Yes
 Need Websocket? No / Yes
 Need validation with JOI? No / Yes
 Need manage business logic? No / Yes
 Need in-app events? No / Yes
 Need provide-inject? No / Yes
 Need i18n? No / Yes
 Need integration tests with Jest? No / Yes
 Need module-based architecture? No / Yes

Scaffolding project in ./<your-project-name>...
Done.

When you complete this stage, GalataJS will provide a basic structure for you. After that, you can follow the packages own guides according to your needs or skip to the next document for more detailed information about GalataJS.

Select Your Syntax

GalataJS can be written in Typescript, JavaScript or CommonJS and supports all of them %100. To see the document in the syntax you want, please click the syntax icon in the top right to change it.

Last Updated:
Contributors: Sami Salih İbrahimbas