Giter Site home page Giter Site logo

stotles-assignment-full-stack's Introduction

Stotles work sample assignment

Getting started

This sample codebase consists of a separate client & server code.

It's set up in a simple way to make it as easy as possible to start making changes, the only requirement is having recent versions of node & npm installed.

This is not a production ready configuration (nor production ready code), it's only set up for easy development, including live reload.

To run the client bundler:

cd client
npm install
npm run dev

The processed code will be available at http://localhost:3001

To start the server:

cd server
npm install
npm run dev

The server will be available at http://localhost:3000 - the page is automatically configured to use the assets served by vite on port 3001.

You should see something similar to this page:

Search page

Disabling/Enabling TypeScript

If you prefer to completely disable TypeScript for a file, add // @ts-nocheck on the first line. If on the other hand you'd like to enable strict type checking, modify tsconfig.json according to your needs.

Note that you can import plain JavaScript files that won't be fully typechecked.

Browsing the database

You should start by looking at the migration in ./migrations folder. If you prefer to browse the DB using SQL, you can use the sqlite command line (just run sqlite3 ./db.sqlite3) or any other SQL client that supports sqlite.

If for any reason the database becomes unusable, you can rebuild it using ./reset_db.sh script`.

The task

All the instructions are available here.

stotles-assignment-full-stack's People

Contributors

pcwieczkowski avatar biancajemsten avatar sadikmoazzem avatar

Watchers

 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.