Coder Social home page Coder Social logo

art_club's Introduction

ArtClub -Fullstack project

ArtClub website is the plattform where users can apply memberships for the club and search artists and artworks. Users can also find links to exhibitions and current painting weather from the link page. Members can see art clubs events and they are able to create and update their own MyPage. On Mypage members can write short indroduction about themselves and create their own picturegallery with 10 pictures for everybody to see. All pictures are also shown on the maingallery page. (Users can vote artworks by like button and see ten most liked paintings.)( Main page features every month some of the artwoks.) Admin can list registered users and approve their memberships. Admin can also create events for members to see.

Art Club release in Heroku

Link to backend

Travis / Codecov

Build Status codecov

Technologies

Frontend: React, JSX(Javascript)

Backend: NodeJS

Database: MongoDB, MongoDB Atlas

Server: Heroku

Used libraries frontend

Eslint

Browser and server connections: Axios npm install axios --save

dev server: JSON server

npm install json-server --save-dev

State management:

Redux-thunk npm install --save redux-thunk

Redux: npm install --save react-redux

Navigation:

React router
npm install --save react-router-dom

Tyylit:

react-bootsrap npm install --save react-bootstrap

Tets:

jest-dom
npm install --save-dev react-testing-library jest-dom

enzyme npm install --save-dev enzyme enzyme-adapter-react-16

End to end testing:

cypress npm install --save-dev cypress

Tools: Redux DevTools npm install --save redux-devtools-extension

Date picker: React date picker npm install react-datepicker --save

Read more: npm install --save read-more-react read-more-react

Used libraries backend

Framework for Node.js Express npm install express --save

Automatic restart of application after changes'. Nodemon npm install --save-dev nodemon

Middleware which allows request from other origins: Cors npm install cors --save

Jsonwebtoken-kirjasto, jonka avulla koodi pystyy generoimaan JSON web token -muotoisia tokeneja. npm install jsonwebtoken --save

Body-parser npm install body-parser

Multer for image data handling

Database:

Mongoose npm install mongoose --save

Enviromental variables:loads environment variables from a .env file into process.env Dotenv npm install dotenv --save

Passwordhashing: bcrypt

Validating unique values: mongoose-unique-validator npm install --save mongoose-unique-validator

Documentation

Manual

Software Requirements Specification

Design architecture

Testing

Heroku

Timesheet

Commandline functionality

Command line scripts for Front

You can run these commands in the project directory

npm start

Runs the application in the development mode. You can use the application in a browser by opening http://localhost:3000 The page will reloaded when the code is edited.

npm build

Builds the application for production

npm test

Runs tests for the application

npm run test-coverage

Runs the tests and a report for test coverage

npm run lint

Checks the code for style deviations

Command line scripts for Back

npm run watch

Runs the application in the development mode. Uses a local development PostGresql database.

npm start

Runs the application in the production mode.

npm test

Pushing application to Heroku server after making new build and git committing

git push heroku master

art_club's People

Contributors

vsvala avatar

Watchers

James Cloos avatar  avatar

art_club's Issues

Katselmointi

Katselmointi

  • Heroku linkki olisi kiva olla readmessa

Sivuston käytettävyys

Mitä tein

  • 28.7.2019 klo ~13:10

  • Käytin sovellusta kirjautumatta

    • Kävin välilehdillä ja välilehtien linkeissä
  • Rekisteröidyin omalla tunnuksella (jonka hyväksyin administa)

    • Tykkäsin kuvista ja Lisäsin kuvan
  • Adminina lisäsin tapahtuman

Kokemus

  • Hyvä README.md kuvaus, mukava kuulla myös kirjastoista vaikka hieman keskeneräisyyttä vaikuttaa olevan. Ympäristönpystytysohjeet voisi olla mukana: miten voin kehittää?

  • Uutena rekisteröintinä ohjattiin etusivulle jossa edelleen luki "Login or Register to apply membership". Ehkä pitäisi viedä "tiliäsi käsitellään" sivulle.

  • Sivun päivittäminen millä tahansa muulla sivulla kuin etusivulla epäonnistuu. En tästä syystä pystynyt bookmarkaamaan sivuja, yritin avata toista välilehteä lukeakseni TOSin mutta sainkin "unknown endpoint".

  • Tähän liittyen, favicon olisi hyvä laittaa kuntoon
    kuva

  • Events sivulla aloitus- ja loppumisajat voisivat olla yksinkertaisemmassa muodossa.

  • Todella responsiivinen tuntuma. Pidin tykkäysten lisäämisestä mediumin "clap" tapaisina vaikka ensin odotin facebook tyylistä tykkäystä.

  • Tykkäyksissä mennään yksi alaspäin jos vaihdan välilehteä: Paina tykkää painiketta niin että kuvalla on 10 tykkäystä, vaihda välilehti Artists ja sitten takaisin Gallery, kuvan tykkäykset laskevat 9.

  • Kenttien validointi 👍

Koodi

Kokonaisuus

  • Todella hienot sivut. Designiin käytetty selkeästi aikaa.

  • Suurin harmi oli sivupäivityksen epäonnistuminen, mutta muut ongelmat olikin todella pientä.

  • Selkeä elegantti sovellus joka pienellä viilauksella sopisi mobiilikäyttöön.

🎨 / 🖌

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.