GithubHelp home page GithubHelp logo

mern-calendar-app's Introduction

Test task. Calendar app on MERN stack.

Node.js version ^12.18.1, npm ^6.14.4

Please, be sure you're using suitable version of node.js and npm

Getting started

npm run setup // it will install all dependencies in parallel
npm run prod // it will build client and start node.js backend with serving static files http://localhost:8080
# or you can install dependencies by yourself
cd client && npm install // install client dependencies
cd server && npm install // install server dependencies

Getting started server

You should create .env file in the server folder Example of .env

POST=8080
DB_PWD=your db password
DB_USER=your db user
DB_HOST=your db host
DB_NAME=your db name
JWT_SECRET=some password for jwt

Commands for running (available in server folder)

npm run start // run server with nodemon
npm run start:debug // run server with nodemon in debug mode
npm run lint // run linter across the whole server src
npm run seed // seed db with predefined users

After seeding DB you can login with credentials

[email protected]
password
# or
[email protected]
password

About

In events I especially departed from task, for better look. In my case schedule have only one column, and it better looks with full width events.

Also function for calculating events conflicts and positions turned out very tricky so i've added some tests for it.
I haven't found solution with less complexity, but under current circumstances it seems okay. Typically we don't have huge amount of events per day.

P.S.

I'm trying to continue growing as a professional every day. So I would be really thankful for your feedback about this project. It'll help me become better!

mern-calendar-app's People

Contributors

artemloiko 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.