Skip to content

ArkuniGIT/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe

Overview

This is an example of how I would implement Tic-Tac-Toe using React.js as front-end and Appwrite/Nest.js for back-end.

How to run

Build shared library

Go to SharedLibrary and run...

$ npm run build

Install Appwrite

Install Appwrite Create a "Tic-Tac-Toe" project in Appwrite

Setup enviroment variables

Create and fill out an .env file for the CLI, NodeAPI and ReactClient projects. See .env.example files for help.

Setup Appwrite

Go to CLI folder and use theese commands...

$ npm install
$ npm run setup
$ npm run create
$ npm run update

Start Client

Go to the ReactClient folder and run...

$ npm install
$ npm run start

Start Server

Go to NodeAPI folder and run...

$ npm install
$ npm run start:dev

Client is now running on localhost:3000

Todo

  • Simplify the process of running the app from blank.

  • Wait for Appwrite to add database transactions.

  • Wait for Appwrite to add database collection name alias.

Thoughts

  • Appwrite was used as a part of the backend for experimental purposes as an alternative to Firebase. It lacks some pretty important features like database transactions to make it production-ready.

  • There is a bug with

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published