Giter Club home page Giter Club logo

codewars's Introduction

CS CODEWARS

Team Collaboration

Trello Link

Figma Link

Frontend

The frontend uses reactjs with vite

Use the public folder for images and assets.

For styling there is css, so do not ever put any css inline unless absolutely required. Css files will be put in the same directory as the route it is styling.

Backend

The backend uses Express.js as server for hosting a REST API, which is all set up inside the src/index.ts. Backend also uses several other library:

  • Mongoose as ODM for Mongo DB
  • cors as enabler for CORS requests

Backend Folder Structure

backend
├───models
    └───account.js
├───routers
    └───accounts.js
    └───login.js
├───utils
├───.env.example
├───.gitignore
├───app.js
├───index.js
├───io.js
├───package-lock.json
└───package.json

Available Scripts

In the root directory of the project, the following commands are:

yarn dev

Runs both the frontend and the backend concurrently.

yarn devFrontend

Runs the frontend server in development mode.
The website can be accessed in http://localhost:5173.

yarn devBackend

Runs the backend server in development mode.
The server will be listening for calls in http://localhost:3000.

Test Accounts

  • Username: server-1-test Password: server-1-test

Contributing

Follow these steps:

  1. Fork the repository from here.

  2. Clone your fork locally.

  3. Optional, but recommended: Create a new branch on the latest commit of the branch you want to contribute to.

  4. Commit to the new branch (or the branch you want to contribute to, if you decided not to make a new branch).

  5. Push to your fork.

  6. Create a pull request from the branch you committed to in your fork to the branch you want to contribute to in the original repository. We don't have a format for pull request descriptions, but please include any details that would help a reviewer.

codewars's People

Contributors

h-isaac23 avatar jayalvincvallescas avatar gillmpadon avatar glenardd avatar holo-23 avatar johnmarklcabitac avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.